Issue #2846875 by caxy4, shawn_smiley: Invalid argument supplied for foreach() SitemapGenerator.php:103