• Resolved ventio

    (@ventio)


    Hello Yoast Team,

    I am using your Yoast SEO plugin and I’m getting a large number of PHP Deprecated notices in my debug.log file. They all seem to be related to “implicitly marking parameter as nullable” in prefixed libraries (vendor_prefixed).

    Here are the most common examples from my logs:

    PHP Deprecated: YoastSEO_Vendor\League\OAuth2\Client\Provider\AbstractProvider::authorize(): Implicitly marking parameter $redirectHandler as nullable is deprecated, the explicit nullable type must be used instead in /wp-content/plugins/wordpress-seo/vendor_prefixed/league/oauth2-client/src/Provider/AbstractProvider.php on line 416

    PHP Deprecated: YoastSEO_Vendor\GuzzleHttp\Client::getConfig(): Implicitly marking parameter $option as nullable is deprecated, the explicit nullable type must be used instead in /public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/guzzlehttp/guzzle/src/Client.php on line 181

    My environment details are:

    • WordPress Version: 6.8.1
    • PHP Version: 8.4.6
    • Yoast SEO Version: 25.4

    The plugin seems to function correctly otherwise, but these notices make the log file very noisy and difficult to use for debugging other issues.

    I just wanted to bring this to your attention for a future update. Thank you for your amazing work on this essential plugin.

    Best regards.

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @ventio

    Thanks for using Yoast SEO and the kind words. Deprecations are NOT errors and should NOT be treated as such. Deprecations don’t break any WordPress functionality and are not errors, so you can ignore them. You can ensure that DEBUG_DISPLAY is turned off.

    Furthermore, WordPress 6.8 is still in beta support for PHP 8.4. Our development team will fix deprecated messages for PHP 8.4 when WordPress is fully compatible with it. Here’s the detailed table on WordPress-supported PHP versions mentioning the stability, exemptions, and beta support.

Viewing 1 replies (of 1 total)

The topic ‘Multiple PHP Deprecated notices on PHP 8.4’ is closed to new replies.