WordPress.org

Forums

Advertising Manager
[resolved] Invalid argument supplied for foreach() (2 posts)

  1. Vargen
    Member
    Posted 2 years ago #

    Hi,

    Just started to use this plugin and am liking it so far.
    But all of a sudden I saw this on a page (not post, all posts are fine):

    Warning: Invalid argument supplied for foreach() in /usr/local/pem/vhosts/437717/webspace/siteapps/WordPress-9640/htdocs/wp-content/plugins/advertising-manager/lib/OX/Ad.php on line 166

    I have filtered the ad with tags, so it only shows when there is a certain tag in the post. The ad shows (and not shows where it shouldn't) just fine but then on the "pages", it displays the above message.

    https://wordpress.org/plugins/advertising-manager/

  2. switzer
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the report. This issue has been solved for tags and categories in the latest version 3.4.28 of Advertising Manager.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags