Good design is good business

For a service that cannot be compared

Specialising in helping small businesses on the internet. The costs charged are tailored to suit small business, yet without compromising on quality.

WordPress 5.0.2 breaks WooCommerce admin order page – NO ORDERS FOUND – fix below

Last night another WordPress version 5.0.2 was released and being a maintenance release sites across the world that are already on WordPress 5.0.0 or 5.0.1 will auto update

So on clicking WooCommerce > Orders it says

No Orders Found

Not the words any shop owner ever wants to hear!!

Basically 5.0.2 has a bug that breaks the orders page within your woocommerce store! It’s not a major break – it won’t stop people ordering and you can still see your orders by clicking the mini menu above. Just click PENDING, PROCESSING, COMPLETED orders as per normal and up will display the orders new and old!

However this isn’t something that you want to leave like this and certainly you don’t want to panic your clients who have woocommerce stores.

Until another release is released to fix this – please insert these lines into your functions.php theme file


function fix_request_query_args_for_woocommerce( $query_args ) {
if ( isset( $query_args['post_status'] ) && empty( $query_args['post_status'] ) ) {
unset( $query_args['post_status'] );
}
return $query_args;
}
add_filter( 'request', 'fix_request_query_args_for_woocommerce', 1, 1 );

Much thanks goes to this post for posting this resolution

What Our Clients Say

Latest News

Microsoft 365 is offline

Microsoft 365 is offline

November 13, 2026

Since late last night Microsoft 365 has been offline – which means emails have stopped working. Outlook won’t open and some other additional services are also affected. So if you have an issue with your emails – this is why – do not attempt to change any passwords or anything, we just need to wait

That’s a wrap!

That’s a wrap!

December 20, 2024

Another year has gone by and the Web Squared office is now closed for a well earned Christmas break. I hope that everyone has a good Christmas and a Happy New Year – whatever and however to choose to celebrate See you all in 2025 for some more great website projects!

Web Squared has moved!

Web Squared has moved!

September 14, 2022

Most of you will already have had an email from me – but I have moved house and therefore moved offices – just into temporary space for now – whilst we look for our dream house and office. So please can you only use my mobile number to contact me 07778 773 207 as BT

Identity theft, Cyber Fraud, Scammers

Identity theft, Cyber Fraud, Scammers

August 12, 2022

It has always been something that I had told my clients that if you are unsure about an email – send it to me and I will check it out. Never ever click on a link in an email unless you are sure its from someone you know and ALWAYS save a file to your