I have a Parse Error on my WordPress site, But it won't let me even look at the code to try and fix the problem. How can I go about fixing that?

Asked by:
designbygoats / 5 Points
Time:
2012-10-16 12:14 am EST
Category:
Wordpress
Hits:
610
www.designbygoats.com/dir

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2012-10-16 12:42 am EST
Hello Designbygoats,

It appears to be a theme issue. We looked at the log file and there was a change in the error location from Oct 12 through Oct 15. Have you been changing anything in settings or code?

Here's the beginning of the error log:

[12-Oct-2012 07:11:01 UTC] PHP Parse error: syntax error, unexpected '}' in /home/desig300/public_html/dir/wp-content/themes/autofocuslite/header.php on line 76
[15-Oct-2012 19:53:27 UTC] PHP Parse error: syntax error, unexpected '}' in /home/desig300/public_html/dir/wp-content/themes/autofocuslite/header.php on line 93
[15-Oct-2012 20:45:54 UTC] PHP Parse error: syntax error, unexpected '}' in /home/desig300/public_html/dir/wp-content/themes/autofocuslite/inc/autofocus-images.php on line 115

Note that the error starts in a different location. The file that is being referenced in the code now is actually remarked out, so we're not sure of the exact location of the problem. Your best resource to resolving this is to contact the author/maker of the theme that you're working on. The only way to currently remove it is to manually go into your database and change the theme that is currently being used.

If you're unable to get the maker of the theme to fix or you want help manually getting the theme to something else, then please respond to this post.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Regards,

Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}