The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Wrong Datatype Error - Need a lil help :)
Hi ..
On my cms page... some people have informed me that an error comes up at the top of the page: Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/packages/vbcms/item/content.php on line 2245 I personally have never seen this .. i've been told it shows sometimes and other times doesn't. I haven't added anything majorily different to the cms side that could cause this, if anything at all ... Has anyone else had this problem? or does anyone know how to fix it? Thanks |
#2
|
||||
|
||||
Hmmm. Line 2245 in content.php:
PHP Code:
|
#3
|
|||
|
|||
Hi Lynne..
Nope not changed anything on there really as of late....only thing changed before was the layour and an article added ..no permissions of any sort 1 person says sometimes the error shows.. other times it doesn't .. like I said . i've never seen it myself .so its puzzling me on how to fix it .. |
#4
|
||||
|
||||
Hmm, those are the ones that are hard to pin down. You could turn display_errors off and then they wouldn't see the error (although, that doesn't mean it doesn't exist).
Add to config.php: PHP Code:
|
#5
|
|||
|
|||
well it all works ok .. nothing on that page is broken from what I can tell at least...
I know that doesn't fix it .. but like you say ..hard to work out .... i'll stick that on for now n have a play with things.. Thanks for your help Lynne quick noob question ... where in the config would I put that? |
#6
|
||||
|
||||
Do you see the errors in your errors_log? You can always look in there to see if the problem continues.
|
#7
|
|||
|
|||
ahh.. ill check the logs later tonite when im back in see if I can see anything thru them ..
thanks |
#8
|
||||
|
||||
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/packages/vbcms/item/content.php on line 2245
that what im getting.... wasnt there last time i looked.. its in the background at the top |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|