Wow, how annoying and scary is this problem. If you are using a Wordpress Child Theme that requires the Genesis Framework you have to be extremely careful when editing anything to do with the code. I am using the Eleven 40 Wordpress Child Theme that requires Genesis. I wanted to edit the footer code in order to put a copyright sign and place my link in the footer etc. When I entered the code and pressed update I received the dreaded error. Parse error: syntax error, unexpected ' on line 56. Website gone, what a nightmare! Even if you delete the code you just added, so everything was the same as it was before you added anything it still throws up the line 56 error! So how did I fix it? Read on below. This might not work for your problem. However, if you were trying to do the same as me (Then it should work) and you got the line 56 error then it's worth a go, right.
First off, go and sign into your hostings CPanel dashboard.
2. Go to your file manager and click it.
3. Select the website url which has the problem in order to go to its root folders
4. Double Click on wp-content
5. Double Click Themes
6. Find the theme with the problem from the list
7. Right click the theme name and choose "Rename" from the list.
8. Edit the name of the problem theme.
Example: my theme was Eleven 40, I changed it to Eleven 401. Anything will do.
9. Press save.
Now what will happen is because you renamed the theme with the problem Wordpress won't be able to find it, so Wordpress will now revert to one of the "Default" themes. This then gives you the chance to just log into your Wordpress dashboard and select another theme. Job done.
Please Note: Do not re-activate the theme you had the problem with. That theme will need to be deleted and re-installed before using it again. I'm pretty sure it will just give you the same error if you don't delete and then re-install a fresh copy. Also remember to rename the problem theme back to what it originally was. This is required in order to delete it. If its not renamed back to the original theme name then it can't be found in order to be removed / uninstalled. Hope this helped you out.
Subscribe to:
Post Comments (Atom)
Popular Posts
-
How to remove the navigation menu bar from some blogger templates. See the picture below of an expample blogger template that has the menu b...
-
Firefox was running slow so I decided to reset Firefox in order to speed things up. If you already have Adblock installed a reset of Firefox...
-
Doing a quick Google search on to how clear / delete the Android keyboard history throws up many results relating to Samsung mobile phones, ...
-
If your using a website or blog platform that uses HTML and your not familiar with the language code it can be very frustrating to accomplis...
-
If you have been getting a little confused by seeing a load of odd text appearing at the end of your Google emails, you'll be glad to kn...
-
A little annoying, but in my experience with this problem, an easy fix. I've read about a few people experiencing this problem disabling...
-
From reading about Adsense on the official websites, Google encourage Adsense publishers to use the best performing ads to generate more cli...
-
Many tests show that Adsense advertisements perform best when mixed in with a websites main content. And most people who do this always add ...
-
I just had this problem when starting my computer up for the first time this morning. I'm using Firefox, but after a quick copy and past...
-
Ads still showing up on Adblock? Company's that use online advertising are working overtime trying to find ways around Adblock. A lot o...
No comments:
Post a Comment