WordPress.org

Forums

WordPress Shortcodes
[resolved] Causes Warning in posts.php (6 posts)

  1. Phillip Flores
    Member
    Posted 2 years ago #

    Activating this plugin causes a warning error in posts.php.

    http://wordpress.org/extend/plugins/synved-shortcodes/

  2. DaveyWavey
    Member
    Posted 2 years ago #

    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?

  3. capotea
    Member
    Posted 2 years ago #

    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.)

  4. Synved
    Member
    Plugin Author

    Posted 2 years ago #

    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);

  5. Synved
    Member
    Plugin Author

    Posted 2 years ago #

    This is fixed in the newest version, 1.5.1

  6. capotea
    Member
    Posted 2 years ago #

    Thanks Synved!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.