• Hi there,

    Our hosting company has uncovered an issue to do with WordPress which is creating a fatal error. WP CLI commands could not be used and all returned this error, but sadly I could not locate any fix for it as it is a general error showing that the WordPress application is unable to debug itself (from what I understood).

    Can you please check this for me:

    Fatal error: Call to undefined function apply_filters() in /home/myhosting/public_html/mysite/wp-includes/load.php on line 316

    The line in question is this:
    if ( ! apply_filters( ‘enable_wp_debug_mode_checks’, true ) ){
    return;

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    To rule out any plugin/theme conflict, try:
    manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Seventeen.) for a moment using
    FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme (Twenty Sixteen.). That will force your site to use it.

    Thread Starter dav74

    (@dav74)

    Hi there,

    OK I will try as you say, but my site is running OK. It is just the debugging of WordPress does not work.

    I heard that W3 Total Cache has been known to cause issues like this (which I do have installed). Do you have any knowledge on that?

    Cheers

    Moderator t-p

    (@t-p)

    I heard that W3 Total Cache has been known to cause issues like this (which I do have installed). Do you have any knowledge on that?

    You will have to disable it to find out.
    See my above reply for more details about resetting your plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error in load.php file. WordPress cannot debug itself’ is closed to new replies.