• Hello,

    I used the Shortcode on a page in my site, and the podcasts displayed right away (yay!).

    Unfortunately, I’m seeing the following error displayed on my podcast page:

    Warning: Invalid argument supplied for foreach() in /home/customer/www/my-site-name.com/public_html/wp-content/plugins/podcast-feed-player-widget/podcast-feed-player-widget.php on line 252

    This appears at the top below the main heading, and the podcasts appear underneath. The page is in Draft mode, so it’s not available to view.

    Question: What does this warning message mean, how do I resolve this (fix the problem and prevent the warning from appearing on the page)?

    Also — I have another heading and some <p> text above the shortcode, but it is appearing below the podcasts at the bottom of the page.

    Question: What would cause the podcasts to come to the top, above other page content?

    Your help is appreciated.

    p.s. Is there a chance that this plugin could be made compatible with the latest WordPress?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter commontater

    (@commontater)

    Still getting the warning:

    Warning: Invalid argument supplied for foreach() in /home/customer/www/example.com/public_html/wp-content/plugins/podcast-feed-player-widget/podcast-feed-player-widget.php on line 252

    What does this mean, and how can I fix it?

    your help is appreciated!

    Thread Starter commontater

    (@commontater)

    Okay, so HELP!

    I am still seeing the Warning message above, and now am getting another one related to simplepie.

    Warning: Invalid argument supplied for foreach() in /home/customer/www/familyofficematch.com/public_html/wp-content/plugins/podcast-feed-player-widget/podcast-feed-player-widget.php on line 252

    Warning: preg_match() expects parameter 2 to be string, array given in /home/customer/www/familyofficematch.com/public_html/wp-content/plugins/wp-rss-retriever/inc/lib/simplepie/library/SimplePie.php on line 2615

    I thought this had resolved on its own, but with the latest WP version, I am seeing this Warning on my public pages.

    Help appreciated!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Podcast Feed Player “warning” message invalid argument for foreach()’ is closed to new replies.