PDA

View Full Version : Wrong Datatype in showthread.php


ams3521
Tue 24th Jun '08, 12:31am
Hello i have started to recieve this error intermitently on my forum-

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/showthread.php(2153) : eval()'d code on line 344


We are running 3.7.1 Patch Level 2. Would you have any idea of what could be causing this? I don't. People will ask me to be removed from admin if i can't fix. My heads on the block. all help appreciated.

Thanks

Steve Machol
Tue 24th Jun '08, 1:30am
This error is from a plugin you've installed. You need to disable each of your plugins then turn one at a time to see which one is causing this.

If you cannot log into the Admin CP then to disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

This will disable all hooks and allow you to log in properly with no hooks running.

http://www.vbulletin.com/docs/html/disable_plugins

ams3521
Tue 24th Jun '08, 4:42am
bah thanks Steve. I was worried it might be that. Im running vbdrupal on my site see and it looks like it's causing untold probs. I will do as you suggest and see if the problem goes away. Actually i can't turn it off as i have too much time and energy tied up with vbdrupal. Thansk for the help and i will see ...well i will soldier on.