Junior Member
Junior Member
cportz   28-03-2010, 18:34
#1

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?

Member
Member
kagutsuchi   28-03-2010, 23:24
#2

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.

Member
Member
Morrigon   01-04-2010, 15:01
#3

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?

Member
Member
sbillard   01-04-2010, 18:09
#4

This option is created by setup. So, something probably went wrong on your install.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.