Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Old Nov 1, 2009, 02:13 PM
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 ) {
$postinfo = ob_get_contents();

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.
Old Nov 1, 2009, 06:31 PM
juggledad's Avatar
23,765 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
Old Nov 1, 2009, 07:45 PM
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..
Old Nov 1, 2009, 08:39 PM
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.


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 09:00 PM.

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