• Resolved aptharsia

    (@aptharsia)


    I tried WP Better Security and it didn’t work out. Since uninstalling it, I’ve gotten this warning:

    Warning: Invalid argument supplied for foreach() in /*/*/*/wp-includes/post.php on line 3588

    Looking at post.php on line 3588, this is the code, the $inclusions is line 3588, there’s a blank line after that and the ‘if’ is line 3587:

    if (!empty($inclusions))
    		$inclusions .= ')';

    I’m not sure how to fix it. I’ve reinstalled WP 3.5 and it did not help. I’m clueless, of course.

Viewing 1 replies (of 1 total)
  • Thread Starter aptharsia

    (@aptharsia)

    Fixed it. When I had installed Better Security, I had to fix my database and for some reason it didn’t complete, so I just uploaded the backup and it fixed it. No more error.

Viewing 1 replies (of 1 total)

The topic ‘Invalid Argument posts.php’ is closed to new replies.