Log in

View Full Version : Getting this error


Rickie43
01-02-2015, 11:03 PM
Need help identifying this error I was getting this error so I upgraded to 3.8.8 upgrade went smoothly but this error is still there and is driving me and my members crazy, can anyone offer some advise please, error below
PHP User Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(294) : eval()'d code on line 96

ozzy47
01-02-2015, 11:05 PM
Ok lets do this, disable plugins via the includes/config.php file.

To do that open your includes/config.php file and below <?php add the following.

define('DISABLE_HOOKS', true);

So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.8.8

Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.

If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.

Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)

ForceHSS
01-02-2015, 11:43 PM
You need to find a plugin that is using this hook
function &fetch_postbit($postbit_type)
{
$handled_type = false;
($hook = vBulletinHook::fetch_hook('postbit_factory')) ? eval($hook) : false;

if (!$handled_type)

Simon Lloyd
01-03-2015, 01:59 AM
I believe that it's caused by an incompatibility issue with PHP version, what PHP version are you using?

ozzy47
01-03-2015, 02:18 AM
Right, and that is most likely a conflict in a mod, that is using the hook, postbit_factory.

Rickie43
01-03-2015, 02:23 AM
Awesome work thanks chaps turned out ibProArcade was causing the issue, all fixed now thanks for all your help :)

ozzy47
01-03-2015, 02:30 AM
Excellent, glad you found it, and got it resolved. :)