• Resolved jamesh1988

    (@jamesh1988)


    Hi there,

    Doing some research into why my backend of WP is slow I installed Query Monitor which led me to seeing some PHP errors:

    “PHP errors were triggered during an Ajax request. See your browser developer console for details.”

    Looked in my browsers console and found a repeating error:

    PHP Errors in Ajax Response: {key: ‘[blocked by me]’, type: ‘deprecated’, message: ‘Constant FILTER_SANITIZE_STRING is deprecated’, file: ‘wp-content/plugins/wpseo-news/classes/meta-box.php’, line: 59, …}

    This error is repeating every 1 second, unsure how to resolve.

    I’m running:

    • WP Version 6.2.2
    • Yoast: Version 20.10
    • Yoast news: Version 13.1
    • PHP Version 8.1.18

    Any ideas of what this could be or how to resolve?

    All the best,

    James

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

    (@maybellyne)

    Hello James,

    Thanks for using the Yoast SEO plugin.

    First, deprecations are NOT errors and should NOT be treated as such.
    Until PHP 9.0, everything which is deprecated will still work as it did before. The deprecation only appears in the Query Monitor plugin, not in the debug logs or the WordPress admin panel.

    Deprecations don’t break any WordPress functionality and are not actual errors, so you can ignore them. And not to worry, we’ll eventually fix the reason that causes that deprecation.

Viewing 1 replies (of 1 total)

The topic ‘Constant FILTER_SANITIZE_STRING is deprecated’ is closed to new replies.