• Resolved leo26mi

    (@leo26mi)


    WordPress 6.1.1
    Woocommerce 7.1.0

    Thrown in

    PHP Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in \wp-content\plugins\woocommerce\includes\wc-page-functions.php on line 139

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @leo26mi!

    Kindly note that these notices aren’t errors and should not affect site’s working. These are deprecations, so everything should be still working as expected.

    Generally, depreciation notices are disabled on production servers. But in your case, these might be enabled. Please disable these using these steps. You can also ask your hosting company to disable these for you.

    Let us know if you still face any issues after this.

    Best!

    Thread Starter leo26mi

    (@leo26mi)

    @pranavrana89 Hi

    Oh okay, could you inform me later when the plugin has been updated and has no problem with any Deprecation things on PHP 8.1?

    Thank you!

    Saif

    (@babylon1999)

    Hello @leo26mi,

    Oh okay, could you inform me later when the plugin has been updated and has no problem with any Deprecation things on PHP 8.1?

    As mentioned, you really don’t need to worry about this as they are just reminders/notices.

    Someone already opened a report regarding PHP 8.1 deprecated code, you’re more than welcome to track the progress of it from here: https://github.com/woocommerce/woocommerce/issues/33808

    Cheers!

    Thread Starter leo26mi

    (@leo26mi)

    @babylon1999 Hi!

    Thank you for the explanation, I will take a look at the post
    and We will inform you later once we get the issue(s)

    Thank you!

    Hey @leo26mi!

    Sure, you can subscribe to the issue updates as follows:

    This way, you’ll know about its progress. I also suggest you keep your WooCommerce plugins up-to-date.

    Best!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 8.1 Deprecated’ is closed to new replies.