[SOLVED]Warning: Invalid argument supplied for foreach()

More
15 years 2 months ago - 15 years 2 months ago #21 by devil
Hi,

sometimes i got this error:

Warning: Invalid argument supplied for foreach() in /joomla/components/com_content/helpers/route.php on line 106

best regards,
Markus

Joomla-Aktuell - www.joomla-aktuell.de
Last edit: 15 years 2 months ago by devil.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #22 by vistamedia
Hi Markus,
I noticed this problem trying to change the menutype from the frontpage to a Flexicontent category blog item.
As far as I know, it only happens with the itemid 1.
Try to create a new menu item and set it as default.
Emmanuel.

FLEXIcontent lead developer.
www.vistamedia.fr web agency and custom development.
www.joomla.fr co-administrator.
Please no PM for support request, use the forum for that!!!

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #23 by devil
Hi Emmanuel,

same problem. Using the Modul minifrontpage on the same site.

Joomla-Aktuell - www.joomla-aktuell.de

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #24 by vistamedia
Hi Markus,
It's due to something I find stupid in the route.php from the com_content. An easy solution is to create a new menu in a position of your template that is published but not displayed.
Then create a menu item from type Article->Section-Blog
Choose the Flexicontent section.
And publish it.
Then you won't have this warning again ;)
Emmanuel.

FLEXIcontent lead developer.
www.vistamedia.fr web agency and custom development.
www.joomla.fr co-administrator.
Please no PM for support request, use the forum for that!!!

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #27 by devil
Hi,

works fine! Thank you.

best regards,
markus

Joomla-Aktuell - www.joomla-aktuell.de

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #4416 by openbig
I had the same prob with mod_allnews.
The Solution is working, but maybe it could be posible to get this thing done with some kind of code.

Thank you for Flexi and for your support.


Olaf

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.947 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline