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 » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] Comments error on single page


  #1  
Old Nov 1, 2009, 02:13 PM
gcarson
 
26 posts · Oct 2009
When I go to view a single page, this error comes up:

Fatal error: Call to undefined function boposts_show() in .../wp-content/themes/atahualpa/functions/bfa_postinfo.php(594) : eval()'d code on line 5

in bfa_postinfo.php, starting on like 589, is this code:

/* PHP code in Post Info Items.
But not for WPMU */
/*removed in 3.4.3. - PHP code works in WPMU too */
if ( strpos($postinfo_string,'<?php ') !== FALSE ) {
ob_start();
eval('?>'.$postinfo);
$postinfo = ob_get_contents();
ob_end_clean();
}

making like 594 - eval('?>'.$postinfo);

when i remove this code, the page works. Anyone have any ideas why this might cause an error on a single page?

Last edited by gcarson; Nov 1, 2009 at 03:10 PM.
  #2  
Old Nov 1, 2009, 06:31 PM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
does it happen on ALL single pages or just certian ones?
Do you have any NEW WIDGETS?
Are you embedding anything in the posts?
what is boposts_show? Is this from a plugin?
Hve you modified any of the code?
What release are you running?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 1, 2009, 07:45 PM
gcarson
 
26 posts · Oct 2009
I wasn't sure if boposts_show() was from a plugin or from atahualpa. I'm guessing from your question its from a plugin. After some quick searching, it seems as though its from a plugin called best related posts, which I tried out, and deactivated. But it seems as though there still might be some code from it? Trying to search all my files to see where that function might be called from..
  #4  
Old Nov 1, 2009, 08:39 PM
gcarson
 
26 posts · Oct 2009
Well, I will be the first to admit I'm not very good at this. I forgot the plugin has you add some code. After I figured that out, it only took me a few hours to find where I added the code. So to all you novices out there like me, keep track of what you do better to avoid wasting hours.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Home page won't load! Parse error, syntax error lhanft Atahualpa 3 Wordpress theme 4 Aug 30, 2009 01:44 PM
[SOLVED] Remove 'Comments are closed' from single post pages. Per Lund Post-Kicker, -Byline & -Footer 2 Aug 13, 2009 07:15 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM
BUG: %comments(' ',' ',' ',' ') no longer works in FOOTER of Multi/Single Post(3.3.2) ianuy Post-Kicker, -Byline & -Footer 2 Apr 15, 2009 12:26 AM
Rrs & comments parsing error zenfull RSS, Feeds & Subscribing 2 Apr 13, 2009 09:16 AM


All times are GMT -6. The time now is 07:46 AM.


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