Hi @thomhsb ,
It’s a deprecated warning. Did you update all the plugins theme into latest version?
You can temporarily turn off debug error from wp-config.php (above “That’s all”) file by adding this line:
define('WP_DEBUG', false);
Hi @thomhsb,
Thank you for reaching out and for bringing this to our attention. I understand how frustrating it can be to encounter errors like this, especially when they appear on the front end of your website.
This is a known issue, and a fix along with a pull request has already been submitted here: https://github.com/woocommerce/woocommerce/pull/61474. The correction is scheduled to be included in the upcoming WooCommerce 10.4.0 release.
In the meantime, you can temporarily hide the error by adding the following lines to your wp-config.php file:
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
Thank you for your patience while we await the release containing the fix. If you have any further questions, please let me know.
Thread Starter
Thomas
(@thomhsb)
Hi @mosesmedh & @shsajalchowdhury,
Thank you very much for your reply.
I’m familiar with the principle (define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);) but we prefer to leave them set to “true” so that we always know what’s going on.
I know they’re just minor alerts; but they fill up the log files every day 😉
I’ll be waiting for the next version with no problem, it’s reassuring to know that the cause is known and is being corrected.
Good luck to the whole team and congratulations again on this incredible plugin.
Thomas
Hi there!
Thank you so much for your kind words and understanding — we really appreciate your patience while the fix is being worked on. It’s great to hear that you’re happy with how things are going, and we’re glad the clarification helped! 😊
If you’re satisfied with the support you received today, we’d be truly grateful if you could take a moment to leave us a 5-star review. Your feedback helps us continue improving and supporting users like you:
👉 Leave a review here
It’s been a while since we heard back from you for this reason we are closing this thread.
If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here:
https://wordpress.org/support/plugin/woocommerce/reviews/#new-post
Feel free to open a new forum topic if you run into any other problem.