WordPress.org

Support

Support » Installation » Fatal Error: Call to undefined function wp_reset_vars()

Fatal Error: Call to undefined function wp_reset_vars()

  • Hello,
    I have been trying to move my site over to a new server and so i have had to set up wordpress. After the log in page i get this error message:

    Fatal error: Call to undefined function wp_reset_vars() in /clientdata/n5200-2-dynamic/b/l/blueginger.com.au/www/wp-admin/includes/media.php on line 15

    Anyone able to help out? The site needs to be up asap. Much appreciated.

Viewing 1 replies (of 1 total)
  • I’ve had the same problem.

    In my case it was because my plugin had a file named options.php, and when I require_once it, PHP tried to load wp-admin/options.php.

    That file uses this wp_reset_vars() function, whose file wasn’t required, and that’s why the error happened.

    I just renamed my options.php and fixed all require_once and it was solved.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error: Call to undefined function wp_reset_vars()’ is closed to new replies.
Skip to toolbar