Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Empty sitemap.xml #195

Open
theodend opened this issue Aug 11, 2020 · 3 comments
Open

Empty sitemap.xml #195

theodend opened this issue Aug 11, 2020 · 3 comments

Comments

@theodend
Copy link

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

@degoya
Copy link

degoya commented Aug 11, 2020

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]]

@crimsonpixel
Copy link

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.

@wallacio
Copy link

wallacio commented Nov 30, 2020

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/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants