How to fix

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


This is due to an upgrade in php to 5.3 from 5.2

Joomla is outdated in version 1.5 for php 5.3

To fix, find the file:

public_html/libraries/joomla/cache/handler/callback.php

Find line 99 should look like:

$result = call_user_func_array($callback, $args);

And edit it to look like:

foreach ($args as $key => $value) {

$args[$key] = &$value;

}

$result = call_user_func_array($callback, $args);

Problem fixed

We would then suggest that you upgrade your installation of Joomla to 1.7
Bài viết này có hữu ích với Bạn? 96 Người xem đã đánh giá bài viết này hữu ích (432 Điểm)