Title: PHP 8.5, Deprecated issues
Last modified: June 3, 2026

---

# PHP 8.5, Deprecated issues

 *  Resolved [wp800s](https://wordpress.org/support/users/wp800s/)
 * (@wp800s)
 * [4 days, 20 hours ago](https://wordpress.org/support/topic/php-8-5-deprecated-issues/)
 * Hi,
 * After upgrading to PHP 8.5.6, the log is full of this:
   PHP Deprecated: Non-canonical
   cast (double) is deprecated, use the (float) cast instead in /wp-content/plugins/
   wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 216PHP Deprecated:
   Non-canonical cast (boolean) is deprecated, use the (bool) cast instead in /wp-
   content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 
   235I get this in multiple WP based sites. It happens every two minutes or so.

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfphil](https://wordpress.org/support/users/wfphil/)
 * (@wfphil)
 * [4 days, 18 hours ago](https://wordpress.org/support/topic/php-8-5-deprecated-issues/#post-18927896)
 * Hi [@wp800s](https://wordpress.org/support/users/wp800s/)
 * We are aware of those and they will be fixed in a future version. They do not
   affect plugin functionality.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-8-5-deprecated-issues%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/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfphil](https://wordpress.org/support/users/wfphil/)
 * Last activity: [4 days, 18 hours ago](https://wordpress.org/support/topic/php-8-5-deprecated-issues/#post-18927896)
 * Status: resolved