Warning: Parameter 2 to frontpage() expected to be a reference

Joomla 1.0.x

Warning: Parameter 2 to frontpage() expected to be a reference, value given in /includes/Cache/Lite/Function.php on line 100

This problem happen with php 5.3.x to fix it You sould replace two files by the ones in the attachment:

/includes/Cache/Lite/Function.php
(this solves the “Reference instead of value”-problem)
/includes/vcard.class.php
(to make the contact form work again)

If you rather add the changes by hand:
The changes to vcard.class.php are minor, look for:

if(!function_exists('quoted_printable_encode'))

In Function.php I added a this line twice:

$arguments = $this->fixCalls($arguments);

The new function (fixCalls) is added at the end of the file.

you can replace the files by download this package
fix_joomla_10x_php_530