[Fix] Joomla: Parameter 1 to modMainMenuHelper


 
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference

At present Joomla! is not certified to work with PHP 5.3.0. If you see this error message on your Joomla website, probably your web host is running PHP 5.3 or recently upgraded to PHP 5.3 (which was my case).

To fix this, go in the helper.php file (/modules/mod_mainmenu/helper.php) and change

function buildXML(&$params)

to

function buildXML($params)

 
Now the error should be gone!
 


[How-to-Fix] Joomla!: Enabling Object, Embed & Iframe

Joomla blacklists <object>, <embed> & <iframe> by default for security reasons and filters out and removes these tags from your articles if you try to add them in your content. The iframe and embed options are useful to integrate e.g. Google Maps and Youtube. There's a solution to disable the filtering by de-selecting certain user groups in joomla as blacklisted for filtering. This didn't work for me though.

Instead, here's a method to get it to work by diving into the PHP file itself. To disable the filtering, edit the filter PHP file and remove the tags from the blacklist.

Path: libraries\joomla\filter\filterinput.php

$tagBlacklist = array ('applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml');