Order a Free SIM Card With 5 Pounds Free Credit

Fix The Genesis Parse Line 56 Error WP

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.



Popular Posts