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

Related posts:

  1. Joomla Security Strike Team (JSST) to focus on Joomla Security
  2. Joomla 1.0.x retires in 2009

22 thoughts on “Joomla does not support PHP 5.3

  1. My host has also decided to take the move to php 5.3. Sadly, this causes a big problem with the websites I designed with joomla 1.0: content disappears everywhere!

    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];

    }

    Hope it will help :)

  2. Awsome Alexis, thanks a lot :) it works :) however I have a question to you, if I make that change, will it work on older versions of PHP too or it needed to be change back?

  3. Thanx!!!

    This really helped :)

    After my webhoster upgraded the PHP, my site was down :(

    I will have to upgrade my site some time to the newest joomla, but now I can decide on my own when to upgrade ;)

    Thumbs up

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>