Re: I am puzzled. Error on one site, no error on the other
| From: | Stephen | Date: | Sun, 27 Oct 2013 22:01:00 +0000 |
| Subject: | Re: I am puzzled. Error on one site, no error on the other | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322390@lists.php.net to get a copy of this message | ||
On 13-10-25 08:27 PM, Stephen wrote:
Problem Situation The warning is from this code:
if ( in_array( $keys, $photo_ids ) ) *Warning*: in_array() expects parameter 2 to be array, null given in */home/rois3324/include/cpprocessforms.php* on line *203* Thank you to those who responded. Declaring the array did the job. Should have seen that, but because I did not get the error in other environments I overlooked what should have been obvious!-- Stephen