For a service that cannot be compared - call Sarah from Web Squared

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

Latest Posts

Spam emails! Sometimes they are SO bad they are funny – almost!!
How to put off your customers by calling them stupid! One marketing tactic that's not worth doing!
Read more.
Who owns or has access to your domain name?
Do you understand quite how vitally important your domain name is? Your domain name is ; Your website, Your email
Read more.
January 14th 2020 – Windows 7 is no more
One of my favourite Windows' operating system - Windows 7 - will no longer be supported, will no longer have
Read more.

Testimonials

As a serial entrepreneur it is wonderful to have people in your team that you can rely on to get new ventures off the ground. Sarah’s ability to interpret my (often ill defined) ideas and design websites and other collateral is invaluable. I shall continue to work with her, and appreciate her feedback, for some time to come.

Caroline Billington – carolinebillington.co.uk