Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Started getting Parse Error

Old May 8, 2011, 09:20 PM
3 posts · May 2011
For some unknown reason I have started to get a parse error on posts (not on home, category or pages). It reads:

Parse error: syntax error, unexpected T_STRING in /mounted-storage/home122a/sub006/sc31987-ZWIA/photodharma.net/Blog/wp-content/themes/atahualpa/functions.php(515) : eval()'d code on line 2

This is the code at that point, but it looks OK to me.

if ( strpos($center_content,'<?php ') !== FALSE ) {
$center_content = ob_get_contents();

I did recently install some new plugins, but I have tried disabling them with no better result.

Does anyone have any ideas what may be going wrong?

Last edited by Anandajoti; May 8, 2011 at 09:37 PM.
Old May 9, 2011, 03:07 AM
juggledad's Avatar
23,696 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Did you change any of the code in 'The LOOP' option?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old May 9, 2011, 06:09 PM
3 posts · May 2011
No I didn't change any code, but I cannot guarantee that some plugin or other didn't change something. However as I mentioned I disabled all recent plugins and still I have the problem.
Old May 9, 2011, 07:54 PM
3 posts · May 2011
OK, it seems to have been a problem in the Permalinks structure or maybe in the htaccess. I updated both very carefully and the pages are loading OK now.


parse error: syntax error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 04:00 PM
Parse error: syntax error, unexpected '<' in /home6/jonesber/public_html/wp-content/ jonesberries Atahualpa 3 Wordpress theme 2 Nov 30, 2009 04:33 AM
[SOLVED] Home page won't load! Parse error, syntax error lhanft Atahualpa 3 Wordpress theme 4 Aug 30, 2009 02:44 PM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 11:04 AM
Can not activate my theme due to parse erorr Parse error tanimwp Forum How-To 2 Jun 17, 2009 04:13 AM

All times are GMT -6. The time now is 02:07 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.