Content Aware Sidebars
[resolved] Error message: Invalid argument supplied for foreach() (3 posts)

  1. atwoodsa
    Posted 4 years ago #

    When I go to add a post or page I am getting the following error message at the top of the page:

    Warning: Invalid argument supplied for foreach() in .../wordpress/wp-content/plugins/content-aware-sidebars/content-aware-sidebars.php on line 381

    Any idea why I am getting this message or how to fix it?


  2. Mayank Jani
    Posted 4 years ago #

    Variable that is used into foreach loop, is not defined properly.

    Go to the line where the error is and try to debug the error.

    Mayank Jani

  3. Joachim Jensen - Intox Studio
    Plugin Author

    Posted 4 years ago #

    Thanks for the feedback. As Mayank said, a variable was not defined properly (it could be null). This was a bug introduced in version 0.8 and fixed in 0.8.1, so all you have to do is update to the newest version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Content Aware Sidebars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic