• Resolved Tempest

    (@salihbora)


    Hello.
    My shared server’s Error Log file has started continuously displaying the following warning messages:
    Thank you.

    [13-Mar-2026 08:20:30 Europe/Istanbul] PHP Deprecated: Non-canonical cast (double) is deprecated, use the (float) cast instead in /home/XXX/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 216
    [13-Mar-2026 08:20:30 Europe/Istanbul] PHP Deprecated: Non-canonical cast (boolean) is deprecated, use the (bool) cast instead in /home/XXX/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 235

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @salihbora, thanks for getting in touch about this.

    As a plugin for WordPress, Wordfence mainly adheres to the compatibility of core itself. As you can see in the following link, the most up-to-date version of WordPress is fully compatible with PHP 8.3 but only offers “Beta support” for 8.4+: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

    I expect you may now be using PHP 8.5 to have started seeing these messages. We always work on providing full compatibility for a PHP version when WordPress does. We have the Non-canonical cast... in a development case to address in an upcoming release. As deprecation notices are non-fatal, then you don’t need to take action and they’ll disappear when we address them.

    Some other plugins and themes may have compatibility issues with PHP 8.4+, but those will depend on which ones you’re using.

    Many thanks,
    Peter.

    Thread Starter Tempest

    (@salihbora)

    Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.