WordPress.org

Ready to get started?Download WordPress

Forums

HELP: Fatal error: Call to undefined function get_option() (3 posts)

  1. ghulst
    Member
    Posted 1 year ago #

    I have been having trouble with my WordPress installation as it kept on coming back with an error stating it had exceeded its quota and needed more space. There was nothing wrong with the amount of disk space available to the site as there was about 2Gb left, but it became annoying. So, I decided to try and find out which plugin was triggering this error. I went into /wp-admin/ and started by de-activating the WP Backup plugin. This went alright, but the message was still there. So, I decided to deactivate a caching plugin. And then the whole thing went wild. The only thing I see now on bxf.nl is:
    Fatal error: Call to undefined function get_option() in /home/soshop/domains/bxf.nl/public_html/wp-admin/admin.php on line 32

    and

    Fatal error: Call to undefined function wp() in /home/soshop/domains/bxf.nl/public_html/wp-blog-header.php on line 14

    I searched the forums and did the following:

    Reinstalled Twenty Eleven and renamed the old theme directory
    Renamed the plugin directory to plugin.hold
    Overwritten all files by the files of a new 3.4.2 download off the wordpress.org site
    And...

    Nothing. Still the same errors.

    Tried to run the update on http://bxf.nl/wp-admin/upgrade.php and got:

    Fatal error: Call to undefined function timer_start() in /home/soshop/domains/bxf.nl/public_html/wp-admin/upgrade.php on line 20

    I am getting really annoyed by this and need a solution soon. Any thoughts???

  2. Umbercode
    Member
    Posted 1 year ago #

    Perhaps WP is looking in the wrong location for its files, try adding the following 2 lines to you wp-config file:

    define('WP_SITEURL', 'http://bxf.nl/');
    define('WP_HOME', 'http://bxf.nl/');
  3. ghulst
    Member
    Posted 1 year ago #

    You post sent me to wp-config.php which turned out to be completely EMPTY! Put old config back and problem solved. Now to find out which plugin messes up the disk quota...

Topic Closed

This topic has been closed to new replies.

About this Topic