SEOTab icon indicating copy to clipboard operation
SEOTab copied to clipboard

Empty sitemap.xml

Open theodend opened this issue 5 years ago • 3 comments

Hello, I've rtfm but my sitemap.xml stay empty. Only <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> </sitemapindex> for [[!StercSeoSiteMap?&type=index]] Any idea ? Thank you

theodend avatar Aug 11 '20 12:08 theodend

Do you have multiple contexts?

maybe you need to define them like this [[!StercSeoSiteMap?&contexts=en,de]]

or try with the default context [[!StercSeoSiteMap?&contexts=web]]

degoya avatar Aug 11 '20 13:08 degoya

Hi there, I am experiencing this issue too.

I have tried default setting but the sitemap continues to be empty. Template is empty and no richtext.

MODX 2.8.1 PHP 7.3.23

And latest version of SEO Pro and SEO Tab running on the site.

crimsonpixel avatar Nov 06 '20 10:11 crimsonpixel

Yep, empty site map for me too. Fresh install of SEOTab on an existing 2.7.3 site, PHP 7.3. I say empty, it does contain a reference to itself which isn't particularly useful. Single, default context of 'web', no options on the snippet.

<urlset>
  <url>
    <loc>https://site.com/sitemap.xml</loc>
    <lastmod>2020-11-30T09:51:57+00:00</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.5</priority>
  </url>
</urlset>

The error log contains a smoking gun, which has just started appearing since installing the extension:

[2020-11-30 09:42:57] (ERROR @ /home/int29er/public_html/core/xpdo/xpdo.class.php : 644) Could not load class: Babel from babel. [2020-11-30 09:42:57] (ERROR @ /home/int29er/public_html/core/xpdo/xpdo.class.php : 1247) Problem getting service babel, instance of class Babel, from path /home/int29er/public_html/core/components/babel/model/babel/

wallacio avatar Nov 30 '20 09:11 wallacio