Title: PHP 8.4 error log
Last modified: June 4, 2025

---

# PHP 8.4 error log

 *  Resolved [milkboy31](https://wordpress.org/support/users/milkboy31/)
 * (@milkboy31)
 * [12 months ago](https://wordpress.org/support/topic/php-8-4-error-log/)
 * Upgraded from php 8.2 to 8.4 today on the server… error log throws:
 * [04-Jun-2025 13:18:46 UTC] PHP Deprecated: Function xml_set_object() is deprecated
   since 8.4, provide a proper method callable to xml_set_*_handler() functions 
   in /home/user/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/
   src/lib/xmlrpc.php on line 148
   [04-Jun-2025 13:18:46 UTC] PHP Deprecated: xml_set_element_handler():
   Passing non-callable strings is deprecated since 8.4 in /home/user/public_html/
   wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line
   149[04-Jun-2025 13:18:46 UTC] PHP Deprecated: xml_set_character_data_handler():
   Passing non-callable strings is deprecated since 8.4 in /home/user/public_html/
   wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line
   150
 * Is this plugin fully updated for php 8.4? It came out nearly 6 months ago… or
   is there something I need to do here?

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [12 months ago](https://wordpress.org/support/topic/php-8-4-error-log/#post-18498240)
 * Hi [@milkboy31](https://wordpress.org/support/users/milkboy31/), thanks for providing
   your log.
 * As a plugin for WordPress, Wordfence mainly adheres to the compatibility of core
   itself. As you can see the most up-to-date version of WordPress (6.8) is fully
   compatible with PHP 8.2 but offers “Beta support” for 8.3+: [https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)
 * Even though Wordfence is tested with PHP 8+ and its release candidates, there
   may be some deprecation notices from time-to-time. They won’t affect the site
   and we always work on providing full compatibility for a PHP version when WordPress
   does. Some other plugins _may_ have compatibility issues but those will depend
   on which ones you’re using. If you upgrade to PHP 8.4 and experience no problems
   with your themes, overall set of plugins, etc. then you can continue to use it.
 * Many thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8.4 error log’ is closed to new replies.

 * ![](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/)

## Tags

 * [deprecated code](https://wordpress.org/support/topic-tag/deprecated-code/)
 * [deprecation](https://wordpress.org/support/topic-tag/deprecation/)

 * 1 reply
 * 4 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/php-8-4-error-log/#post-18498240)
 * Status: resolved