When I updated to the latest version of Yeost SEO v3.2.3 and GeoDirectory v1.6.0, I found the Yeost SEO XML sitemaps feature was broken.
See: http://expertdesign.eu/sitemap_index.xml
I’ve currently left this in a broken state so you can see it in the wild.
This appears to be a problem with the GeoDirectory Location Manager. I used the following procedure to fix the sitemap:
1. Original error:
This page contains the following errors:
error on line 2 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
2. With GeoDirectory or Yeast SEO disabled:
Fatal error: Call to undefined function geodir_get_posttypes() in /home3/charliev/public_html/expertdesign.eu/wp-content/plugins/geodir_location_manager/geodir_location_functions.php on line 3671
3. With location GeoDirectory Location Manager deactivated:
Fatal error: Call to undefined function geodir_get_posttypes() in /home3/charliev/public_html/expertdesign.eu/wp-content/plugins/geodir_list_manager/geodir_list_manager.php on line 130
4. With GeoDirectory Lists deactivated
Fixed!
5. Re-activate GeoDirectory and GeoDirectory Lists:
Works!
6. Re-activate GeoDirectory Location Manager:
Broken again (see original error).
In this example this bug is appearing on the parent node of a Multisite installation. But I originally found it on one of the child nodes. The sitemaps aren’t broken on another child node that doesn’t have any GeoDirectory plugins installed.