Support » Fixing WordPress » Fatal error: Call to undefined function wp()

  • Hi Support,

    My site was running smoothly, due to redirections were not working, i had to remove the redirection (301-move permanently) plugin. Immediately my site is broke and not coming up. Now its totally down and not understanding what to do further to bring it up.

    Please help me what to do.

    This is the Error message i am getting when i try to open my website by name:

    define(‘WP_CACHE’, true); //Added by WP-Cache Manager define( ‘WPCACHEHOME’, ‘/home/content/58/10772258/html/wp-content/plugins/wp-super-cache/’ ); //Added by WP-Cache Manager define(‘DB_NAME’, /** Database Charset to use in creating database tables. */ define(‘DB_CHARSET’, ‘utf8’); /** The Database Collate type. Don’t change this if in doubt. */ defineAuthentication Unique Keys and Salts. * *wp-content/languages and set WPLANG to ‘de_DE’ to enable German * language support. */ define(‘WPLANG’, ”); /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. */ define(‘WP_DEBUG’, false); /* That’s all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(__FILE__) . ‘/’); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . ‘wp-settings.php’);
    Fatal error: Call to undefined function wp() in /home/content/58/10772258/html/wp-blog-header.php on line 14

Viewing 3 replies - 1 through 3 (of 3 total)
  • the error is caused by the config file missing a php open tag, maybe when you removed the plugin it attempted to remove the settings it placed in your config, but failed…

    try this in the following order

    1. add “<?php” at the very start of your config file (without the quotes)
    2. change your database password
    3. get a new set of secret keys: here

    Thank you jmyeom, for your quick reply. I have removed database info & website link.

    I am not able to access my wordpress admin page. I can only FTP. There are multiple websites are hosted in single premium account, therefore i have to take backup of all the files and sub-folders.

    After that i will try the method you suggested.

    Please let me know what is this error and do i need to follow any other instructions while i fixing the problem.

    Thank u so much jmyeom…i am able to bring it up my website now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to undefined function wp()’ is closed to new replies.