Quote:
Originally Posted by djbaxter
What function? I've shown you the entire contents of the plug-ins. The only additional code is in postbit which displays the custom field:
PHP Code:
<!-- latest blog hack for members in good standing only --> <vb:if condition="!in_array($bbuserinfo[usergroupid],array(2,20,22,28,30))"> <vb:if condition="$post['field6']"> <!-- <span class="smallfont">Recent Blog: <a href="{vb:raw post[field8]}" target="_blank">{vb:raw blogentry}</a></span> --> <span class="smallfont">Recent Blog: <a href="{vb:raw post[field8]}" target="_blank">{vb:raw post[field7]}</a></span> </vb:if> </vb:if> <!-- end latest blog hack for members in good standing only -->
The referenced line 13 in class_postbit.php in the first error is:
Code:
if (!isset($GLOBALS['vbulletin']->db))
The referenced line 21 in class_postbit.php in is:
Code:
require_once(DIR . '/includes/class_bbcode.php');
|
That's actually not how you read the error.
Code:
Fatal error: Call to undefined function CarpCacheShow() in /path/to/forum/includes/class_postbit.php(284) : eval()'d code on line 13
That means, look at line 284 of class_postbit.php which is calling something which then has a problem on line 13. So, line 284 of class_postbit.php is this:
PHP Code:
($hook = vBulletinHook::fetch_hook('postbit_display_start')) ? eval($hook) : false;
The problem is with line 13 of something being called by that hook location.
But look at the error... "Call to undefined function CarpCacheShow()" A function is being called that doesn't exist on that page. That is why I asked where the function is defined. Cuz wherever that is, you need to make sure that file is included at that point.
Quote:
Originally Posted by djbaxter
I'm still unable to get this to stop throwing errors in CMS.
Any suggestions on how to proceed to locate the source of the errors?
|
You need to do something to make sure those plugins are not called on the CMS page (which is why I was suggesting using THIS_SCRIPT)