Closed paulmassen closed 8 years ago
Replicated the issue.
The Related Pages plugin should really have a configuration option to be enabled only on some routes (e.g. on /blog
and children) and not simply run on every page.
Fixed by core Grav commit https://github.com/getgrav/grav/commit/07beafc679049108fed5f4261ce2cc1a67a72c8e
Hi, It seems like sitemap can not be generated when related pages plugin is set with @self.siblings whereas it works with @self or @taxonomy. I got the message
Call to a member function children() on null
.Here is my config: Related pages v1.1.3 Sitemap v1.6.2 Grav v1.1.0 - Admin v1.1.1 (Had the same problem with Grav v1.0.10)
Page.php
Here is the yaml just in case:
And obviously the yaml for sitemap: