PDA

View Full Version : Fatal error: class_bbcode.php(172) HELP!


entropy2
03-08-2016, 10:20 PM
The server my forum was running on was upgraded to PHP 5.4 and I started getting this error:

Fatal error: Call-time pass-by-reference has been removed in /includes/class_bbcode.php(172) : eval()'d code on line 7

I updated my forum from Vbulletin 3.8.6 to 3.8.10 Beta 1 but I'm still getting the error.

I commented out the line causing the problem:

($hook = vBulletinHook::fetch_hook('bbcode_create')) ? eval($hook) : false;

The error is gone and my forum works now but I'm worried removing this line will cause other problems.

squidsk
03-09-2016, 06:10 PM
Go ACP->Products & Plugins->Plugin Manager and find all plugins that are running on the bbcode_create plugin and note which products they belong to. It's unlikely you have more than one or two. Once you figure out which products use that hook as in the product thread for help with the error.