• Resolved Tuts Insider

    (@tutsinsider)


    Hi,
    I have upgraded my website from PHP v7.4 to v8.1. But now after upgradation, yoast plugin is diplaying errors in debug mode. Below are some errors i am getting.
    Front End Errors

    
    Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/u274843758/domains/tutsinsider.com/public_html/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php on line 185
    

    Dashboard Errors
    Below errors vanish if I deactivate Yoast and Yoast ACF Content Analysis plugins.

    
    Deprecated: Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u274843758/domains/tutsinsider.com/public_html/wp-includes/functions.php on line 7035
    
    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u274843758/domains/tutsinsider.com/public_html/wp-includes/functions.php on line 2164
    
    Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/u274843758/domains/tutsinsider.com/public_html/wp-includes/functions.php on line 7035
    
    Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/u274843758/domains/tutsinsider.com/public_html/wp-includes/functions.php on line 2164
    
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @tutsinsider,

    Thanks for reaching out regarding the compatibility between the Yoast SEO plugin and PHP 8.1. Unfortunately, we haven’t yet fully tested the plugin with PHP version 8. The entire WordPress community is still working on it. You can read the https://developer.yoast.com/blog/the-2020-wordpress-and-php-8-compatibility-report/.

    For Yoast SEO to run properly, you should have a PHP version of 5.6.20 or higher. In fact, we recommend PHP version 7.3 or above. Before you upgrade to a higher PHP version, check if your WordPress site is ready for it. Read this helpful article to learn how to update your PHP version. Also, your PHP memory should be 256M or greater.

    Thank you.

    Plugin Support Maybellyne

    (@maybellyne)

    This thread has been marked as resolved due to a lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

    Well, it’s just sad to be honest. PHP 8.0 nearing its end of active support already and yet you didn’t resolve your plugin’s compatibility with it. Most hosting providers are moving away from PHP 7.4 as it’s getting close to it’s end of life in three months.
    Any ETA when these and many other warnings get resolved? Not trying to be bitchy about it just a legitimate concern.

    I agree. More feedback needed if it’s compatible with 8.0 or even 8.1.

    I plan to upgrade to PHP 8 or 8.1 in November-December this year once the long-term support is end-of-life for PHP 7.4.

    I don’t want to experience the same stress as I already had in few moments with Yoast breaking the WordPress admin and throwing errors just like that, because.

    • This reply was modified 2 years, 3 months ago by Fritex. Reason: adding a sentence from the experience since before past
    katmacau

    (@katmacau)

    Any updates on this? PHP7.4 reaches EOL next month. Better to upgrade sites to PH8.1 than have to update to 8 only to have to update to 8.1 next year.

    oddrow

    (@oddrow)

    Any updates on this?

    More warnings/notices:

    PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28

    • This reply was modified 2 years ago by oddrow.

    Totally agree, an update here would be highly appreciated.
    Could you take a look into it please and tell us about the timeline, @maybellyne ?

    See this reply.

    I’m having this issue after upgrading my yoast SEO plugin a error message displaying on my screen https://ogidiloaded.com/ An error occurred: unfortunately our Morphology feature is not working. Please make sure you?activate your subscription in MyYoast(Opens in a new browser tab)?and then?reload this page?to make it work properly.

    Can I use Yoast seo plugin for application developed https://mypostalcode.in/pin-code/up

    Our main hosting provider updated to PHP 8.1 and Yoast has broken our ability to edit any posts where it is used. We have to either downgrade dozens of sites to PHP 8.0 or uninstall Yoast. That this has been a known issue for more than a year with no resolution certainly helps make that decision easier.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Upgrading to PHP 8.1 Yoast SEO plugin displaying error in Debug mode’ is closed to new replies.