The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Jul 13, 2010 1:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 06, 2009 12:42 pm
Posts: 12
Help! I am randomly getting errors in multiple modules, after the site has been working fine. The errors appear in module positions. Often, they go away after a while and then everything works fine again. Clearing cache doesn't help. I've removed/unpublished modules to solve the problem from time to time, but new errors keep appearing. I have an email into host to see if this is database connection problem. I have also subbed out a few plugins thinking they were source, but no luck. URL: http://www.wfrnlive.com.

Can anyone suggest another possible cause?

Here is current list of my error messages:

Error: Any articles to show

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_banners/tmpl/default.php on line 9
Latest News

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_latestnews/helper.php on line 105

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_acymailing/mod_acymailing.php on line 73

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_acymailing/mod_acymailing.php on line 84
Subscribe to the WFRN Live Newsletter

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_banners/tmpl/default.php on line 9

Warning: Invalid argument supplied for foreach() in /home/wfrnlive/public_html/modules/mod_latestnews/helper.php on line 105


Top
 Profile  
 
PostPosted: Wed Jul 14, 2010 9:44 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Sat Oct 10, 2009 2:28 pm
Posts: 413
Location: Medellin, Colombia
please for example check if the images/banner directory exists. It's difficult without looking at the folders and code (which version) etc. as to what the problems are. Hopefully my 'best' guess puts you in the right direction.

_________________
Retired IBM 360/370 Assembler TPF Systems Programmer


Top
 Profile  
 
PostPosted: Tue Oct 05, 2010 10:11 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Oct 05, 2010 10:02 am
Posts: 1
I have exactly the same problem.
Joomla version 1.5.20

PHP Warning: Invalid argument supplied for foreach() in modules/mod_banners/tmpl/default.php on line 9

PHP Warning: Invalid argument supplied for foreach() in modules/mod_mostreadrecent/helper.php on line 79

PHP Warning: Invalid argument supplied for foreach() in modules/mod_latestnews/helper.php on line 105

I have tried to look for solution by simply using google but unfortunatly coudn't find any.
As I type errors in google , it showed me that it is not only us having those problems, there are paaaages of results with those errors.


Top
 Profile  
 
PostPosted: Mon Nov 29, 2010 7:33 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jun 10, 2008 4:11 am
Posts: 171
yes, i am getting this same exact error. Check the information above and its all there.

It seems that some modules come online and sometimes they don't. Might be due to bandwith issues, but not sure.
Just refresh your site or go to > Cache Manager - Clean Cache Admin and clear it and also clear (Delete) Cache Manager - Purge Cache Admin. That does seem to sometimes fixes the issue.


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 6:23 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jun 10, 2008 4:11 am
Posts: 171
Ok, your issue I am getting now. I recently updated to the current version 1.5.22 and I noticed your same error is popping in banner module area. public_html/modules/mod_banners/tmpl/default.php on line 9. Before I did the update, I never did see it, never. Sometimes, deleting the cashe works and sometimes it doesn't.

I don't know, at this point my advertisers are upset and well, nothing that can be done about it, expect reverting back to the previous version, which I don't want to do.


Top
 Profile  
 
PostPosted: Thu Jan 19, 2012 2:49 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Dec 14, 2011 3:59 pm
Posts: 39
i also have this problem in mod banner... joomla 1.5.25


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 10:50 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jan 30, 2010 11:59 pm
Posts: 205
Same here with mod_banners in J 1.5.25.
Also few other problems have similar issues.
Site overloads the server which goes down and then need rebooting.

Few other warnings from the core joomla files I am getting:
/components/com_content/models/category.php: 350","(Warning) Invalid argument supplied for foreach()"

/components/com_content/models/section.php: 359","(Warning) Invalid argument supplied for foreach()"

/libraries/joomla/cache/storage/file.php: 125","(Warning) unlink(/home/news935/public_html/cache//1a441578e1e25386131a72761c45dbb8.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory"

/administrator/components/com_content/controller.php: 339","(Warning) array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array"

/libraries/joomla/html/html/select.php: 68","(Warning) Invalid argument supplied for foreach()"

/administrator/components/com_content/controller.php: 342","(Warning) Invalid argument supplied for foreach()"

/administrator/components/com_content/controller.php: 360","(Warning) implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed"

/administrator/components/com_content/controller.php: 375","(Warning) Invalid argument supplied for foreach()"

/libraries/joomla/html/html/select.php: 68","(Warning) Invalid argument supplied for foreach()"

/libraries/joomla/database/database/mysql.php: 462","(Warning) mysql_fetch_object(): supplied argument is not a valid MySQL result resource"

/libraries/joomla/database/database/mysql.php: 469","(Warning) mysql_free_result(): supplied argument is not a valid MySQL result resource"

/components/com_jce/editor/libraries/classes/editor.php: 118","(Warning) Invalid argument supplied for foreach()"

I have already a related post here: viewtopic.php?f=433&t=703260

_________________
Make the best out of it...
http://www.news.935radio.gr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group