Added by: sCRiPTz-TEAM.iNFO Mon, 06 September 2010
Full error:
Fatal error: Class 'bbcode_parent_class' not found in .../admin/sources/classes/bbcode/custom/ccs.php on line 18
Line of the error:
class bbcode_page extends bbcode_parent_class implements bbcodePlugin
The issue happens when the custom bbcode plugin for IP.Content pages is loaded and no other bbcode are present in the class, in this scenario the bbcode_parent_class class is NEVER loaded. This is basically the same issue of my old report even if the cause is a little different (extends cannot find the class instead of retrieveTags):
http://community.inv...-always-loaded/
A temporary fix is to put this code at the top of the ccs.php file:
if( !class_exists('bbcode_parent_class') )
{
require_once( IPS_ROOT_PATH.'sources/classes/bbcode/custom/defaults.php');
}
The best fix would be to always load the bbcode_parent_class which presently is included in defaults.php instead of having a separate file.
Source: http://community.invisionpower.com/tracker/issue-25099-fatal-error-class-bbcode-parent-class-not-found-ccsphp/