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?
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){
............
.............
}
}
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
Post a Comment