tbsingleton73
01-15-2008, 11:30 AM
Hi,
I'm new to the forum.
I recently found Pixelpost and put 1.7RC1 on my site. It's not in professional site so no huge issues if something goes wrong.
Yesterday when I noticed that the final version of 1.7 was out, I decided to upgrade my site.
I am using a modified horizon theme so maybe this has something to do with my problem.
The error I'm getting, I see on the Images page of my Admin logon.
Above each image I have on my site is shows the following error/warning:
"Warning: in_array() [function.in.array]: Wrong datatype for second argument in .../photoblog/admin/images_edit.php on line 575"
Line 575 of /admin/images_edit.php reads:
<input type=\"checkbox\" class=\"images-checkbox\" name=\"moderate_image_boxes[]|" value=\"$id\" ".(in_array($id, $_POST['moderate_image_boxes' ])?' checked':' ')."/>
If I understand the error and code correctly, and I'm very new to this so maybe I don't. It seems to say that there is a problem with the 2nd arguement in the in_aray, which would be "$_POST". Is this correct?
I know my issue came from a bad upgrade, bad meaning, I screwed it up. Or likely because I'm using the 1.7RC version of horizon theme that I customized.
I would hate to have to do a complete reinstall of 1.7 and modify the theme to my likeing but I would if no one has any ideas.
I'm hoping someone understand the error message and know what code I can adjust to resolve the error.
Thanks in adance for your help.
I'm new to the forum.
I recently found Pixelpost and put 1.7RC1 on my site. It's not in professional site so no huge issues if something goes wrong.
Yesterday when I noticed that the final version of 1.7 was out, I decided to upgrade my site.
I am using a modified horizon theme so maybe this has something to do with my problem.
The error I'm getting, I see on the Images page of my Admin logon.
Above each image I have on my site is shows the following error/warning:
"Warning: in_array() [function.in.array]: Wrong datatype for second argument in .../photoblog/admin/images_edit.php on line 575"
Line 575 of /admin/images_edit.php reads:
<input type=\"checkbox\" class=\"images-checkbox\" name=\"moderate_image_boxes[]|" value=\"$id\" ".(in_array($id, $_POST['moderate_image_boxes' ])?' checked':' ')."/>
If I understand the error and code correctly, and I'm very new to this so maybe I don't. It seems to say that there is a problem with the 2nd arguement in the in_aray, which would be "$_POST". Is this correct?
I know my issue came from a bad upgrade, bad meaning, I screwed it up. Or likely because I'm using the 1.7RC version of horizon theme that I customized.
I would hate to have to do a complete reinstall of 1.7 and modify the theme to my likeing but I would if no one has any ideas.
I'm hoping someone understand the error message and know what code I can adjust to resolve the error.
Thanks in adance for your help.