bolt / bolt-extension-rssfeed

RSS feed publisher for Bolt
https://bolt.cm/
5 stars 9 forks source link

Error on newest bolt installation #28

Closed lucasmontec closed 6 years ago

lucasmontec commented 6 years ago

Uncaught Exception: ContextErrorException .

ContextErrorException in Generator.php line 183: Notice: Undefined index: entries

protected function getContentTypes($contentTypeName)
{
    $contentTypes = [];
    if ($contentTypeName === null) {
        foreach ($this->config->getSiteWideFeed()->getContentTypes() as $name => $type) {
            $contentTypes[$name] = $this->contentTypes[$type];
        }
    } else {
        $contentTypes[$contentTypeName] = $this->contentTypes[$contentTypeName];
    }
lucasmontec commented 6 years ago

Error on configuration. My bad, I was missing the setup to show the correct entries.