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 ...
This first error is on line 719 of the code:
Warning: Invalid argument supplied for foreach() in ...
The second error is on line 725:
$permanent_deleted_posts = array_diff($all_products,$all_posts);
How do I fix these errors?
foreach ($permanent_deleted_posts as $permanent_deleted_post)
Many thanks for your help!