Theme errors

Hi all,

Has anyone seen the following error next to all the themes on the admin page?

Warning: in_array() [function.in-array]: Wrong datatype for second argument in

*******/zp-core/admin-functions.php on line 2457

Would be really grateful to know what to do, all the best

Alex

Comments

  • This is again an issue of serialized arrays stored in the database being corrupt. In this case it is the list of zenphoto distributed themes.

    I really do not know how it could become corrupt. But it should be possible to correct it. You will need to run setup again. Best if you install the nightly build while you are at it. This should recreate the option.
  • Well, looks like I can't get away from the NB. I have all my existing comments nicely aligned, I just hope that I don't lose them.

    Many thanks
  • I uploaded the nightly build and setup wants me to address the following 2 things:

    Warning!

    You should consider disabling magic_quotes_gpc. For more information See What is magic_quotes_gpc and why should it be disabled? in the Zenphoto troubleshooting guide.

    PHP mbstring package [Your internal character set is ISO-8859-1]
    Warning!

    Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.

    Do you know if these are vital errors or can I skip?
  • The first is just an efficiency issue. The second matters only if you are running your site in a language that uses characters with diacritical marks. So you can ignore both.
  • It worked! The nightly build saved the day. All is now functioning as it should. And to think I'm going to have to install a new nightly build tomorrow night! :)

    Thank you for your excellent advice and help.
  • Well, tomorrow night the 1.3.1.1 release will be available:)
Sign In or Register to comment.