Warning message in Admin Themes Action column

I just upgraded from v1.2.5 to v1.2.9 and now have the following error message in the "Action" column for *all* installed themes: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /xxx/xxx/public_html/zp-core/admin-functions.php on line 2343. Lines 2342-2345 in the php file read:

`2342 function themeIsEditable($theme, $themes) {

2343 $zplist = unserialize(getOption('Zenphoto_theme_list'));

2344 return (!in_array( $theme , $zplist));

2345 }`

Any suggestions for what I should do?

Comments

  • I don't get this problem with a new 1.2.9 installation.

    You may want to verify that all of your Zenphoto files have updated correctly. Otherwise, I'm not exactly sure what else could be the problem. Some information regarding your server setup might be helpful.
  • I have also seen this error after upgrading. I went in and deleted admin-functions.php and re-uploaded it again just to make sure I didn't miss anything and nothing has changed.

    What information regarding server setup specifically would help you?
  • This option is created by setup. So, something probably went wrong on your install.
Sign In or Register to comment.