Warning: Invalid argument supplied for foreach() in /components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 240
|
|
|
|
|
Question: I get the following errorĀ "Warning: Invalid argument supplied for foreach() in /components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 240" when trying to edit my Community Builder profile. How can I solved this? NOTE: Received this error using Joomla! 1.5.10 together with Community Builder 1.1
Answer: - Locate the following file in the root directory of your Joomla! installation.
components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php - Change the following code on line 528
$params =& $juser->getParameters();
so that it reads
$params =& $juser->getParameters(true);
- Delete line 520
$params->loadSetupFile(JApplicationHelper::getPath( 'com_xml', 'com_users' ));
- Problem should be solved!!!
|