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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • entropy2
    New Member
    • Mar 2016
    • 1
    • 3.8.x

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

    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.
  • Paul M
    Former Lead Developer
    vB.Com & vB.Org
    • Sep 2004
    • 9886

    #2
    Yes, removing that line will probably break the modification that was using it.

    You need to put that back and then disable your mods one by one until you find the broken one - leave that disabled until you can get it fixed.
    Baby, I was born this way

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...