PDA

View Full Version : After upgrade ibproarcade 2.7.3 give me error (same error have 2.7.2)


ikorolis
11-20-2015, 03:29 PM
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
11-20-2015, 07:38 PM
Mind if I have a look ?

ikorolis
11-21-2015, 08:25 AM
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_complet e')) ? eval($hook) : false;

MIWASA
01-14-2016, 06:22 PM
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
01-14-2016, 06:43 PM
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
05-02-2016, 03:12 AM
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
05-02-2016, 03:37 PM
The fix is in post #5..

gnrx
10-25-2017, 07:37 AM
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:
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