xmap blank screen Joomla 3.2

Problem: XMAP displays a blank screen when you click on the sitemap in Joomla 3.2.* and higher, or it displays a Internal 500 error.

Solution: XMAP references a component that is no longer required in versions later than 3.2.*

Remove or comment out the following line from /components/com_xmap/helpers/xmap.php

REMOVE OR COMMENT OUT:  require_once(JPATH_SITE .’/includes/application.php’);

It should be in the top 7 lines of the php script.