Joomla does not support PHP 5.3

Are you getting these errors in Joomla?

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/xx/public_html/libraries/joomla/cache/handler/callback.php on line 99

or

Warning: Parameter 1 to HTML_content::show() expected to be a reference, value given in /home/xx/public_html/travel/includes/Cache/Lite/Function.php on line 92

Its because Joomla does not support PHP 5.3 or PHP 5.3.1

Just downgrade your PHP version and these errors will go away

Use the following fix as proposed by Alexis in the comments. He says

Here is a simple solution to fix it:

Open /includes/Cache/Lite/Function.php and replace at line 74:

$arguments = func_get_args();

with:

$arguments = func_get_args();
$numargs = func_num_args();

for($i=1; $i < $numargs; $i++){
$arguments[$i] = &$arguments[$i];
}

42 thoughts on “Joomla does not support PHP 5.3

Leave a Reply to MarinaCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.