Where are the "Warning settings"S - Joomla! Forum - community, help and support


i error on old pages.

warning: invalid argument supplied foreach() in /home/wallofsp/public_html/templates/gk_league_news/html/com_content/article/default.php on line 13

i have googled heck out of this.

first told edit php.ini. can not find it. host controlling that?

second told there warning setting somewhere in global config.

ideas?

hi,

use count before foreach loop(/home/wallofsp/public_html/templates/gk_league_news/html/com_content/article/default.php),look below code.

if(count($arrayvar)){
foreach($arrayvar $var){
............
.............
}
}





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support