Log in

View Full Version : any help with showthread


rob01
12-03-2008, 11:06 PM
hello.. im currently having some problems with my forum.. if i disable all plugins, i get this error
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/showthread.php(2161) : eval()'d code on line 435

for example here : bbs/showthread.php?t=50, just when showthread.php is called

but if i enable my plugins and i try to modify a thread or creat a new thread adding a web link
i get this error : "this forum cannot contain threads or it is a link please choose another forum.", i know is a plugin.. but im not sure wich one.. since i dont use web link posting restrictions

any idea? :S

Lynne
12-03-2008, 11:12 PM
Look at your showthread.php page at line 2161 and see which hook is used. Then look at your list of plugins and see which are using that hook location. Try turning that Product off and see if it fixes the problem.

rob01
12-03-2008, 11:21 PM
but the error is in

2161:
eval('print_output("' . fetch_template('SHOWTHREAD') . '");');

435:
$curforumid = $thread['forumid'];
construct_forum_jump(); <-- this

. kinda weird :S

ReQueM
12-03-2008, 11:30 PM
disable all plugins and try again

rob01
12-03-2008, 11:39 PM
yeah i already did that , but i get this error
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/showthread.php(2161) : eval()'d code on line 435

Lynne
12-04-2008, 12:12 AM
Just because all the plugins are disabled, doesn't mean all the modifications are disabled. Some modifications require extra files to be uploaded or files to be edited. It sounds like your error is caused by one of those.