I encountered a rather annoying error message in this CMS when I wanted to add a Sitemap component called joomap to Mambo (to improve Google indexing ).

XML Parsing Error: junk after document element
Location: http://www.orbit.me.uk /index.php? option=com_joomap&view=google
Line Number 2, Column 1:<b>Warning</b>:  Invalid argument supplied for foreach() in <b>[snip] /administrator /components /com_joomap /plugins /content.plugin.php</b> on line <b>88</b><br />

This was a problem because it was stopping Google indexing the sitemap. So I decided to dust off my PHP and tackle the problem head on…

Continue reading “Joomap error at line 88 foreach()”