Skip Navigation

[Resolved] PHP Notice "publish" order status is no more in WooCommerce 2.2

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#472201

I did the following:
Saved a Post Field Group used with WooCommerce Orders post type only.

I visited this URL and Saved the Field Group:
hidden link

I expected to see:
No PHP Notices in the log.

Instead, I got:
PHP Notice: WP_Query was called incorrectly. The "publish" order status is no more in WooCommerce 2.2! You should use the new WooCommerce post_status instead, <a href="hidden link">read more...</a> Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version WooCommerce 2.2.) in /home/myuser/public_html/wp-includes/functions.php on line 4091

#472776

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Could you please share exact steps to reproduce this issue or you can create a test site on discover-wp.com and send me the link where I can see the issue.
=> https://toolset.com/faq/how-and-why-to-create-a-test-site-in-discover-wp/

You can create a test site using our Woocommerce reference site:
=> http://discover-wp.com/register/?site_type=660

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.