Title: Error_log warning messages
Last modified: March 13, 2026

---

# Error_log warning messages

 *  Resolved [Tempest](https://wordpress.org/support/users/salihbora/)
 * (@salihbora)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/error_log-warning-messages/)
 * 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](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/error_log-warning-messages/#post-18853534)
 * Hi [@salihbora](https://wordpress.org/support/users/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/](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](https://wordpress.org/support/users/salihbora/)
 * (@salihbora)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/error_log-warning-messages/#post-18879671)
 * Many thanks.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror_log-warning-messages%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tempest](https://wordpress.org/support/users/salihbora/)
 * Last activity: [1 month, 1 week ago](https://wordpress.org/support/topic/error_log-warning-messages/#post-18879671)
 * Status: resolved