Solution for Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference.
You will get this issue if the php version is upgraded in the server as joomla is not certified to work with PHP 5.3.0.
FIX: open the file
[replace <username> with your username]