Sorry if I haven't worded the post title properly but I know absolutely nothing about php.
I visited a blog I'm setting up today, only to find two php errors at the top of the homepage.
Warning: array_diff() [function.array-diff]: Argument #2 is not an array in ...
Warning: Invalid argument supplied for foreach() in ...
This first error is on line 719 of the code:
$permanent_deleted_posts = array_diff($all_products,$all_posts);
The second error is on line 725:
foreach ($permanent_deleted_posts as $permanent_deleted_post)
How do I fix these errors?
Many thanks for your help!