• koetjing

    (@koetjing)


    After upgrading to 3.9 I get the following error message if I try to change the theme:

    Fatal error: Call to undefined function current_action() in D:\XXXX\yyyyy\blog\wp-includes\theme.php on line 758

    I also get following error message when I try to activate the Akismet or WordPress SEO Yoast plugins:

    Fatal error: Call to undefined function wp_register_plugin_realpath() in D:\XXXX\yyyyy\blog\wp-admin\plugins.php on line 150

    How can I solve this?
    Thanks,
    Dirk

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Jeremiah

    (@jpvanoosten)

    I can confirm that esmi’s advice helped in my situation except you should not have to delete any folders or files. Just replace any existing wordpress files from a fresh installation. The latest.zip and latest.tar.gz files do not contain the wp-config.php and .htaccess file anyways so unzipping/untarring them directly to your current wordpress installation (replacing exiting files) should be safe but always backup your wordpress installation (both files and DB) before performing this process.

    esmi

    (@esmi)

    Extensive experience suggests that over-writing may not be enough in some cases. Which is why we specifically recommend that you delete the old copies of files & folder before uploading the new ones. Please stop posting poor advice about this.

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

The topic ‘'Call to undefined function' errors after upgrade to 3.9’ is closed to new replies.