I am having a problem in that when I turn on the cache for my Joomla site I just get the error message: Fatal error: Cannot pass parameter 2 by reference in E:\sites\SC\xampp\htdocs\libraries\joomla\document\html\renderer\module.php on line 82
The line in question is (expanded from a single line for better readability):
$contents = $cache->get(
array('JModuleHelper', 'renderModule'),
array( $module, $params ),
$module->id. $user->get('aid', 0)
);
I am not sure of how to solve this problem and any help would be greatly appreciated. Thank you for your time.
$cache->get(...)
or is it related to$user->get(...)
? Bothget
functions are on the same line. – hakre