Warning: Invalid argument supplied for foreach

GK User
Wed Jan 07, 2015 9:20 pm
Hi.
(Sorry for my English (I better to Polish))

I have installed templates, created the front.
I have created the first menu item.
It is coupled to a K2 category with some articles containing images.
Now when I click on menupuktet can I view all my articles. Beautiful is it :D
I also get errors :dry:
Warning: Invalid argument supplied for foreach() in ......./com_k2/templates/portfolio-grid/category.php on line 34
I have had done something wrong, but where?
look if there fo-to.biz

Many greetings
Tomasz
User avatar
Fresh Boarder

GK User
Wed Jan 07, 2015 10:06 pm
I have turned on the display of error from.
If ye can almost what is over the case to the error I will be thankful.
Many greetings
Tomasz
User avatar
Fresh Boarder

teitbite
Thu Jan 08, 2015 12:15 pm
Hi

It's just a warning not an error. The code in this line is writting down tags of the article. So I believe You have no tags there so warning is shown because NULL is used instead of array. Keep error showing level low and this will be no problem.
User avatar
Moderator


cron