Ticket #63 (closed Bug report: fixed)

Opened 3 years ago

Last modified 2 years ago

Adding a new RSS content => foreach() error

Reported by: Prospere Assigned to: benoitg
Priority: low Milestone: WifiDog Auth Server 1.0
Component: Auth server, Content Management Keywords:
Cc:

Description (Last modified by max-horvath)

Warning: Invalid argument supplied for foreach() in /var/www/wifidog-auth/wifidog/classes/Content/RssAggregator/RssAggregator.php on line 523

Attachments

Change History

01/26/06 09:14:27 changed by max-horvath

  • component changed from Auth server: Authentication to Auth server: Features.
  • description changed.

Please provide the RSS feed you've been using ...

01/27/06 18:32:10 changed by Prospere

- Go the administration page - Content management (in the menu) - Choose RSSAgregator - Create Content

And : Warning: Invalid argument supplied for foreach() in /var/www/wifidog-auth/wifidog/classes/Content/RssAggregator/RssAggregator.php on line 523

That's all :-)

02/22/06 11:11:16 changed by max-horvath

  • owner set to benoitg.
  • component changed from Auth server: Features to Auth server: Content Management.
  • milestone set to WifiDog Auth Server 1.0.

09/01/06 08:41:54 changed by Damien Raude-Morvan <drazzib-web@drazzib.com>

This warning appears when there no elements in 'content_rss_aggregator_feeds' : the request return no rows and $feed_urls var is empty.

A simple if (!empty($feed_urls)) { ... } should correct the problem.

09/07/06 05:15:56 changed by benoitg

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [1092]


Add/Change #63 (Adding a new RSS content => foreach() error)




Action