• Resolved mrwizard9k

    (@mrwizard9k)


    I am having some issues here. Yesterday I mistyped my site address so I had to add define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);
    To the functions file. Now I am having all of these issues.

    I disabled all plugins and tried to change theme and I still get errors. This is what I get when trying to change the theme to twenty fourteen

    ( ! ) Warning: Cannot modify header information – headers already sent by (output started at /home//wp-includes/functions.php:1) in /home//wp-includes/pluggable.php on line 1174
    Call Stack
    # Time Memory Function Location
    1 0.0012 368472 {main}( ) …/themes.php:0
    2 0.2954 23888576 wp_redirect( ) …/themes.php:34
    3 0.2957 23889032 header ( ) …/pluggable.php:1174

    Now the site is totally nuked and I cant even get it to load. WTF!?!?!?! Here is the error trying to get to the site.

    ( ! ) Fatal error: Call to undefined function update_option() in /home//wp-includes/functions.php on line 2
    Call Stack
    # Time Memory Function Location
    1 0.0002 227928 {main}( ) …/index.php:0
    2 0.0003 230808 require( ‘/home//wp-blog-header.php’ ) …/index.php:17
    3 0.0005 248224 require_once( ‘/home//wp-load.php’ ) …/wp-blog-header.php:13
    4 0.0007 257392 require_once( ‘/home/wp-config.php’ ) …/wp-load.php:39
    5 0.0014 364192 require_once( ‘/home//wp-settings.php’ ) …/wp-config.php:89
    6 0.0145 1821096 require( ‘/home//wp-includes/functions.php’ ) …/wp-settings.php:94

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try:
    – switching to the default theme automatically by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

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

    Thread Starter mrwizard9k

    (@mrwizard9k)

    -esmi followed your recommendation and now I cannot get into /wp-admin/ the site just displays in unformatted html..

    Thread Starter mrwizard9k

    (@mrwizard9k)

    when I try to go to site.com/wp-admin/ it says site not found and looks like my dog chewed it up

    So you carried out all 3 steps?

    Thread Starter mrwizard9k

    (@mrwizard9k)

    Yes, in order.

    Thread Starter mrwizard9k

    (@mrwizard9k)

    well this is fun. I guess I’ll just install a fresh WP and try to patch it back together?

    Thread Starter mrwizard9k

    (@mrwizard9k)

    Fixed it, my db for the site got corrupted. After clearing it out and uploading the backup, as well as uploading a fresh WP and dragging over my wp-content folder I am back in business.

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

The topic ‘Header error: cannot change theme, export, add or remove plugins WTF?’ is closed to new replies.