View Full Version : Problem after upgrade
PhilipL
05-19-2007, 03:16 PM
Hi,
I've just upgraded vBadvanced to the latest version (3.0 RC1) and now when I want to edit the default settings and pages etc I receive the following error code several times:
Warning: in_array() [function.in-array (http://www.csa-squad.co.uk/admincp/function.in-array)]: Wrong datatype for second argument in /includes/vba_cmps_adminfunctions.php on line 733
Any idea what this could be please?
Thanks for the help.
Phil
Brian
05-19-2007, 04:07 PM
Looks like a problem with the "Pages to Exclude" setting with the Site Navigation module. Try editing that module through the Admin CP, make sure that option is set as you would like, and then save it to see if that corrects the problem.
PhilipL
05-19-2007, 05:27 PM
Hi Brian,
thanks for the quick reply.
That didnt work so I tested and played around with your code.
I had a copy of the site navigation module and when the upgrade took place, the upgrade didnt set the correct database value for the copied site navigation module. It worked when I change the serialized value from 0 to 1.
Brian
05-19-2007, 07:09 PM
That *should* have been updated during the upgrade... Was that perhaps a copy of the original site navigation module, was it using a different filename than navigation.php, or anything out of the ordinary like that?
PhilipL
05-19-2007, 08:20 PM
It was a copy of the navigation module but with a slight different filename for it.
Brian
05-19-2007, 08:47 PM
That would be the reason then. The upgrade file will only update the settings for modules using default filenames since that's the only way to know it's actually our module.
beduino
09-27-2007, 12:42 AM
well,
I have a customized module [about navigation] .... what i need to do?
errors [admincp]
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/vba_cmps_adminfunctions.php on line 742
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/vba_cmps_adminfunctions.php on line 742
Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_adminfunctions.php on line 757
Tks in advance,
joao barroca
aka beduino
beduino
09-27-2007, 01:31 AM
I delete/remove my customized module and trouble disappears
tks
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.