-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: loc in models/SitemapIndexTemplate.php #674
Comments
@jamealg It looks like you might have created an additional sitemap without adding a location to it. I'll add in a fix to work around this, it shouldn't throw an error in this case. |
fixed in b90cbf3 |
Thanks @khalwat. It looks like there is a bit more to it. After applying your latest update accessing
I'm not sure how that additional sitemap got created, but I was able to manually delete it by temporarily removing the Full stack trace:
|
When I access
/sitemap.xml
or even/admin/seomatic/site/sitemap/default
I get this PHP error:Other SEOmatic admin pages load just fine.
I'm on Craft 3.4.24 and Seomatic 3.3.8.
PHP is version 7.0.15 and MySQL 5.6.35.
Full stack trace:
Let me know if I can provide any more info. I've tried disabling/enabling the plugin and clearing all caches but to no avail.
The text was updated successfully, but these errors were encountered: