If you have got the following error messages on your website after entering your first event to test the EventList componant.

Warning: Invalid argument supplied for foreach() in

… /components/com_eventlist/helpers/route.php on line 87

Warning: Invalid argument supplied for foreach() in

… /components/com_eventlist/helpers/route.php on line 96

Then you either:

1. Publish a link (menu item type component) in the menu pointing to an Eventlist view. After that the errors should disappear as stated on the EventList development website.

Or

2. Open route.php located in (… /components/com_eventlist/helpers/) and delete or you better just disable both lines (i.e. 87 and 96) by surrounding them with a PHP comment tags as follows:

87
 /* foreach($items as $item) */

96
 /* foreach($items as $item) */

This should get rid of the error messages for sure and you can still work with your EventList.

P.S. The version I worked with was EventList 0.9 Migration Plugins RC1

2 Responses to “EventList for Joomla 1.5 Error Messages”

Leave a Reply

*
Haider’s WebSpace
Welcome to my technical blog. This is where I write, archive and share computer related articles. Subjects vary from posting technical solutions to researching particular topics. Feel free to comment and talk IT!
Sponsored Links
My Tweets
Posts Calendar
February 2012
M T W T F S S
« Nov    
 12345
6789101112
13141516171819
20212223242526
272829