joomla-projects / com_localise

forked version of the original com_localise for experimental purposes
GNU General Public License v2.0
24 stars 36 forks source link

Invalid argument supplied for foreach() in #327

Open ModDM opened 6 years ago

ModDM commented 6 years ago

Just installed com_localise-4.0.31-dev.zip in my Joomla installation. After installation I go to back-end > Components > Localise (click on that) and on the page of your component I see at the top this error:

Warning: Invalid argument supplied for foreach() in joomla\administrator\components\com_localise\models\languages.php on line 211

What does this mean and what do I have to do?

infograf768 commented 6 years ago

the code line is foreach ($folders as $folder) where $folder has the value of the language tag, i.e. fr-FR, de-DE, etc. Which Joomla version are you using? And which languages are installed?