ethercreative/seo

Calling unknown method: craft\models\FieldLayout::getFields()

kevinmu17 opened this issue · 0 comments

Description

Sections in the Sitemap.xml are broken. When navigating to /sitemap.xml you see the sections you activated in the sitemap config of the plugin. When following the URL's you get this error (e.g. /sitemap_sections_14_0.xml)

Steps to reproduce

  1. Create your sitemap with the plugin
  2. Activate a section to be present in the sitemap
  3. Go to your /sitemap.xml url, copy the url from the created section (e.g. /sitemap_sections_14_0.xml)
  4. Enter this url in you address bar

Additional info

  • Craft version: Craft Pro 4.0.4
  • SEO version: dev-v4-dev (because packagist isn't up to date and hell breaks lose if using @latest)
  • PHP version: 8.0.18
  • Database driver & version: MariaDB 10.3.34
  • Other Plugins: N/A