Skip to content

Fix for exception 'missing index content_dir' - #10

Open
oztourer wants to merge 1 commit into
STOWouters:masterfrom
oztourer:content_dir_exception
Open

oztourer wants to merge 1 commit into
STOWouters:masterfrom
oztourer:content_dir_exception

Conversation

@oztourer

@oztourer oztourer commented Jan 6, 2019

Copy link
Copy Markdown

I cloned the current version of PhileCMS and cloned philePaginator as a plugin. The plugin broke my previously working test site, causing an exception 'no index content_dir' on all pages other than index.md. I tracked it to line 113:
$repo = new \Phile\Repository\Page($this->settings);
It seems that $this->settings does not contain the necessary config setting. Replacing that line with:
$repo = new \Phile\Repository\Page();
seems to have resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant