Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Started getting Parse Error (http://forum.bytesforall.com/showthread.php?t=14088)

Anandajoti May 8, 2011 08:20 PM

[SOLVED] Started getting Parse Error
 
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 ) {
ob_start();
eval('?>'.$center_content);
$center_content = ob_get_contents();
ob_end_clean();
}

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?

juggledad May 9, 2011 02:07 AM

Did you change any of the code in 'The LOOP' option?

Anandajoti May 9, 2011 05:09 PM

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.

Anandajoti May 9, 2011 06:54 PM

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.


All times are GMT -6. The time now is 02:53 AM.

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