Sitemap XML parsing error
-
Sybre, at the bottom of the SEO settings page, I click “The sitemap can be found here” link.
It opens up an error as follows:XML Parsing Error: junk after document element
Location: https://notreadytoshowoff.not/sitemap.xml
Line Number 2, Column 1:<b>Warning</b>: Division by zero in <b>/pathtomyhtml/html/wp-content/plugins/autodescription/inc/classes/sitemaps.class.php</b> on line <b>326</b>
^I followed the path and put a function to skip over the division by zero error and it did show me my XML page after.
I’m not a real coder though and don’t want to potentially compromise the function of this great plug-in. Hence why I bring it to your “perfectionist” attention.
I didn’t share the code I used as not sure if you’d appreciate me showing hacks to your project. Happy to share it with you upon request however.
- The topic ‘Sitemap XML parsing error’ is closed to new replies.