• Resolved milkboy31

    (@milkboy31)


    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

    (@wfpeter)

    Hi @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/

    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.