Home › Forums › Archived Forums › Weaver II Theme › Fatal error: Label ‘http’ already defined in /home/mkc2010/public_html/blog/wp-content/themes/weaver
- This topic has 9 replies, 6 voices, and was last updated 8 years ago by
Gillian.
-
AuthorPosts
-
September 15, 2015 at 19:21 UTC - Views: 1 #18260
Anonymous
InactiveThis 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.comAny help will be hugely appreciated.September 16, 2015 at 15:18 UTC - Views: 1 #24543Anonymous
InactiveI’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.
September 16, 2015 at 16:57 UTC - Views: 2 #24544scrambler
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.
September 16, 2015 at 18:45 UTC - Views: 4 #24545Maureen
ParticipantWhen 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.September 17, 2015 at 04:26 UTC - Views: 1 #24546Weaver
KeymasterIs 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.
September 17, 2015 at 16:29 UTC - Views: 2 #24547GR8FL
ParticipantNot 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
September 17, 2015 at 19:02 UTC - Views: 1 #24548Weaver
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.
September 18, 2015 at 17:44 UTC - Views: 1 #24549Anonymous
InactiveThank you all for your input. I will pursue your thoughts and report my results.
September 19, 2015 at 18:18 UTC - Views: 1 #24550Anonymous
InactiveThe 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.
September 20, 2015 at 01:52 UTC - Views: 1 #24551Gillian
ModeratorThe 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 🙂
-
AuthorPosts
- The forum ‘ Weaver II Theme’ is closed to new topics and replies.