Home Forums Archived Forums Weaver II Theme Fatal error: Label ‘http’ already defined in /home/mkc2010/public_html/blog/wp-content/themes/weaver

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #18260
    Anonymous
    Inactive

    This happens when I attempt to access the online site or the admin area. We haven’t yet updated to the latest Weaver version. 

    Site is http://www.mattaponikennelclub.com

    Any help will be hugely appreciated.
    #24543
    Anonymous
    Inactive

    I’m really stuck and have no idea what to do about this. The site is down and I haven’t a clue about how to address the issue. 

    #24544
    scrambler
    Moderator

    @weaver needs to look at this, so by using @weaver he will be notified.

    I am not the expert on these, but something may have corrupted some of the theme file, like if your site has been hacked.

    If you cannot access the admin I can see two possibility.

    1- You ask your host provider to restore the latest backup from before the problem occurred.

    2- You use the file manager from your Host Cpanel, to delete the Weaver folder in the theme directory. That will delete the theme, and I believe that will make WordPress default to another one (as long as you had some installed like 2014 or 2015). You should then be able to log into the admin and reinstall the Weaver Theme, and your settings should automatically get loaded as they are stored in the database.

    But if you do regain control, you will need to inspect / scan the whole installation for a possible Hack.

    #24545
    Maureen
    Participant

    When I receive messages like this, it is usually due to not having enough memory on the site:  increase it in the php.ini file. Your host should help with this.

    Or recently there seems to be an issue with the php version. Your host can also help with this.
    Had a site go down this morning. Could not access WP Dashboard. The site was also under assault from a brute force attack. I use Wordfence and get emails advising me of these attacks. I contacted the host who quickly got the site up and going. 
    I can’t remember all the error messages I have seen when sites go down, but I have seen messages with the path — like yours — leading to  Weaver. However, it is not Weaver that is causing the problem as much as server memory and versions.
    #24546
    Weaver
    Keymaster

    Is that the EXACT message you got. It does not look like any WP error message I’ve see, or would expect. It really doesn’t make any sense to me.

    #24547
    GR8FL
    Participant

    @weaver

    Not sure if this helps troubleshoot, but the exact error when trying to get to this URL (http://mattaponikennelclub.com ) is:

    Fatal error: Label ‘http’ already defined in /home/mkc2010/public_html/blog/wp-content/themes/weaver-ii/header.php on line 68

    #24548
    Weaver
    Keymaster

    @GR8FL

    Thanks – I missed that the error wasn’t admin only.

    SO…

    @avering

    My diagnosis is that your site has been hacked. There is nothing in any official Weaver II code in header.php that could possibly generate that error. That means you header.php file is NOT a genuine file from the official theme, and thus must be hacked or otherwise corrupted. Or, your entire WP file structure could have been corrupted somehow.

    #24549
    Anonymous
    Inactive

    Thank you all for your input. I will pursue your thoughts and report my results.

    #24550
    Anonymous
    Inactive

    The cited header file was corrupted in the area of line 68 as given in the error message. I’ve been able to get the site back up. I’m very happy that it was a small site and what was lost in my DB backup (dunno why) was available on the Wayback Machine. 

    #24551
    Gillian
    Moderator

    The Wayback Machine can certainly be a lifesaver – it helped me out a couple of years ago when I needed to reconstruct a menu structure which had unaccountably disappeared into the ether 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘ Weaver II Theme’ is closed to new topics and replies.