[ERROR] Site Definition Error
Closed this issue · 1 comments
SamBrishes commented
Hello,
I noticed the following error on OctoberCMS v3.4.9 (with enabled MultiSites), while viewing the generated sitemap.xml.
[2023-07-22 13:00:51] prod.ERROR: ErrorException: Undefined property: RainLab\Sitemap\Classes\DefinitionItem::$sites in /modules/cms/classes/Page.php:213
Simple fixed it by adding public $sites;
on the shown sitemap/classes/DefinitionItem.php
file.
Sincerely,
Sam.
daftspunk commented
Thanks Sam!