vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=320831

After upgrade ibproarcade 2.7.3 give me error (same error have 2.7.2)
by ikorolis
20 Nov 2015 16:29

After update ibproarcade 2.7.2 => 2.7.3

PHP Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(345) : eval()'d code on line 96

VBulletin 4.2.3
PHP 5.4.45
MySQL Version 5.6.27

Temp solution

AdminCP => Plugin Manager => Disable ibProArcade: "Crowns in Postbit" postbit_display_complete

or Disable ibproarcade

any idea how to fix?

stangger5 20 Nov 2015 20:38

Mind if I have a look ?

ikorolis 21 Nov 2015 09:25

sorry dont have good understand english i am from and live in greece
please explain what can do it? if help you?

for moment i have disable ibproarcade my website.

class_postbit.php

Line (96)
if (!$handled_type)

Line (345)
($hook = vBulletinHook::fetch_hook('postbit_display_complete')) ? eval($hook) : false;

MIWASA 14 Jan 2016 19:22

Any solution on this issue. Sorry for hijacking thread. But also receiving an error message

PHP Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(345) : eval()'d code on line 250

When i disable iBproArcade it goes away. Still running 2.7.2 and haven't upgraded to 2.7.3
but am running Bulletin 4.2.3 as well

Interesting as well. is that i was also getting duplicate posts when tagging someone in a post. Not sure if related. But disabled arcade and everything back to normal

Dave 14 Jan 2016 19:43

Go to your plugin manager and look for "ibProArcade: Crowns in Postbit" at hook "postbit_display_complete". Now you can either disable that specific hook or try to fix it by changing all occurences of $crowns[type] to $crowns['type'] (note that there are single quotes around "type" now) in the PHP code of that hook.

dan325ci 02 May 2016 05:12

I am having this same issue also. The only way i was able to fix it was disabling "ibProArcade: Crowns in Postbit postbit_display_complete" in the Product Manager. Is there a more permanent fix then this to allow us to keep this hook? I am using 2.7.3 version.

stangger5 02 May 2016 17:37

The fix is in post #5..

gnrx 25 Oct 2017 09:37

Hello.
In my case, yesterday I install iBproarcade (last version) with a fresh install.
I have this error:

PHP Warning: Illegal string offset 'type' in ..../includes/class_postbit.php(345) : eval()'d code on line 161

Same error but different line in the "code on".
I try this:
Quote:

Originally Posted by Dave (Post 2562649)
Go to your plugin manager and look for "ibProArcade: Crowns in Postbit" at hook "postbit_display_complete". Now you can either disable that specific hook or try to fix it by changing all occurences of $crowns[type] to $crowns['type'] (note that there are single quotes around "type" now) in the PHP code of that hook.

But for me not work.
In this plugin, I view only one $crowns[type] and other $crown[type].
I try only with one and also, with 2.
Not works, continue the issue.

Also work if I disabled this plugin.

Can you help me?

Thanks and regards!

PD: My vb is 4.2.5
PHP: 5.6.30
MySQL: 5.6.37


All times are GMT. The time now is 03:16.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.