Title: Causes Warning in posts.php
Last modified: August 20, 2016

---

# Causes Warning in posts.php

 *  Resolved [Phillip Flores](https://wordpress.org/support/users/pcflores/)
 * (@pcflores)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/)
 * Activating this plugin causes a warning error in posts.php.
 * [http://wordpress.org/extend/plugins/synved-shortcodes/](http://wordpress.org/extend/plugins/synved-shortcodes/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [DaveyWavey](https://wordpress.org/support/users/jewlicious/)
 * (@jewlicious)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264164)
 * After upgrading to WordPress 3.5 I get the following error on the home page when
   activating WordPress Shortcodes:
 *  Warning: Invalid argument supplied for foreach() in /home/content/47/9549947/
   html/wp-includes/post.php on line 3588
 * Trying to log in generates the same error as well as a whole bunch of “Warning:
   Cannot modify header information – headers already sent…” errors as well.
 * Any ideas? Anyone?
 *  [capotea](https://wordpress.org/support/users/capotea/)
 * (@capotea)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264167)
 * Identical here: disabling the plugin helps to get rid of the warnings.
    Hoping
   for an update of this plugin soon.
 * If you cannot login, you can delete the plugin through FTP access (with Filezilla
   ie.)
 *  Plugin Author [Synved](https://wordpress.org/support/users/synved/)
 * (@synved)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264168)
 * Yes I’m aware of the issue, it’s caused by a change in the WordPress 3.5 release.
 * I’m working on a fix, meanwhile you can follow these steps to fix the issue.
 * Open your wp-config.php file, go to where it says:
    /* That’s all, stop editing!
   Happy blogging. */
 * before that line, insert this line:
    error_reporting(E_ERROR);
 *  Plugin Author [Synved](https://wordpress.org/support/users/synved/)
 * (@synved)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264180)
 * This is fixed in the newest version, 1.5.1
 *  [capotea](https://wordpress.org/support/users/capotea/)
 * (@capotea)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264181)
 * Thanks Synved!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Causes Warning in posts.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/synved-shortcodes_b9a3a6.svg)
 * [WordPress Shortcodes](https://wordpress.org/plugins/synved-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/synved-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/synved-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/synved-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/synved-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/synved-shortcodes/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [capotea](https://wordpress.org/support/users/capotea/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/causes-warning-in-postsphp/#post-3264181)
 * Status: resolved