• Resolved diepbui4157

    (@diepbui4157)


    Hi Team,

    I’m using Local Pickup Plus from SkyVerge, an extension on Woocommrece store.

    After I updated my site to PHP8.1, whenever I go to checkout and select Pickup and I got this warning:

    Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/woocommerce/includes/class-wc-countries.php on line 622

    I think it’s conflict betwwen Woo and PHP8.1. Then I updated to Woo 8.1 today when I seen the latest version will get rid of that warning, but they’re still there.

    Looking forward from you guys,

    Thanks and best regards,
    Diego

Viewing 1 replies (of 1 total)
  • Hi @diepbui4157

    I’m using Local Pickup Plus from SkyVerge, an extension on Woocommrece store. After I updated my site to PHP8.1, whenever I go to checkout and select Pickup and I got this warning:

    Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/woocommerce/includes/class-wc-countries.php on line 622

    I think it’s conflict betwwen Woo and PHP8.1. Then I updated to Woo 8.1 today when I seen the latest version will get rid of that warning, but they’re still there.

    From what I understand, you’re experiencing a warning message related to the deprecated trim() function after upgrading your site to PHP 8.1. You’re using the Local Pickup Plus extension from SkyVerge and you’ve noticed the warning when you select Pickup during checkout. You’ve also updated to WooCommerce 8.1 with the expectation that the warning would disappear, but it still persists.

    Since the problem you’re facing involves a premium extension, it would be best if you could reach out to us directly, provided you have a valid license for this extension. To do this, kindly head over to ?? WooCommerce.com → My Account → Support. Remember, you might need to log into the account you used to purchase the extension to access this page.

    ?? Just a heads up, according to our ?? forum guidelines, we’re unable to offer support for premium extensions through this platform. But rest assured, our devoted team will be thrilled to help you out more once you contact us through the right channel.

    Thank you for your understanding and patience. We’re looking forward to assisting you soon.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP8.1 Deprecated: trim(): Passing null to parameter’ is closed to new replies.