Forums / Install & configuration / Warning: in_array(): Wrong.... when upgrading to 3.5.2

Warning: in_array(): Wrong.... when upgrading to 3.5.2

Author Message

Kristoffer Raun

Tuesday 28 June 2005 6:20:13 pm

I got this error when i upgradet to 3.5.2

Warning: in_array(): Wrong datatype for second argument in c:\ezpublish\ezpublish\index.php on line 132

Warning: in_array(): Wrong datatype for second argument in c:\ezpublish\ezpublish\index.php on line 132

Warning: in_array(): Wrong datatype for second argument in c:\ezpublish\ezpublish\index.php on line 132

Warning: in_array(): Wrong datatype for second argument in c:\ezpublish\ezpublish\index.php on line 132

It's both in admin and at hp.

I get this error-output:

Undefined variable: 'QueryAnalysisOutput' in group 'DatabaseSettings'

Timing: Jun 29 2005 03:18:48
Module start 'content'

Timing: Jun 29 2005 03:18:48
Module end 'content'

Error: eZINI Jun 29 2005 03:18:48
Undefined variable: 'ShowUsedTemplates' in group 'TemplateSettings'

Warning: PHP Jun 29 2005 03:18:48
Invalid argument supplied for foreach() in c:\ezpublish\ezpublish\kernel\classes\ezcontentobjecttreenode.php on line 746

Notice: Jun 29 2005 03:18:48
Class filter returned false

Warning: PHP Jun 29 2005 03:18:48
Invalid argument supplied for foreach() in c:\ezpublish\ezpublish\kernel\classes\ezcontentobjecttreenode.php on line 746

Notice: Jun 29 2005 03:18:48
Class filter returned false

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming

Ɓukasz Serwatka

Wednesday 29 June 2005 11:01:01 pm

Hi Kristoffer,

Are you sure that you have run all update scripts?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristoffer Raun

Thursday 30 June 2005 12:15:15 am

No.... ;-)
I will try the update again...
Thanks for your reply!

<i>If you can't describe what you are doing as a process, you don't know what you're doing.</i>
W. Edwards Deming