View more context



@heggsta have tired using the code you provided, getting error when dev/build, saying server error


hmmm... I didn't do anything other than restrict the searchable classes by adding FulltextSearchable::enable([SiteTree::class]); (with the appropriate use statements before it) to _config.php... but I thought it would work without that


@heggsta here's the error message after did the dev/build

Files: Requires logging in with Slack to view/download
Screen Shot 2018-04-26 at 17.53.01-fullpage.png

Please put your site in dev mode, because just "Server error" is not really helpful


hmm, weird behaviour.. when running with ?flush, classes get autoloaded, subsequent request on the same URL without flush, they don’t


Sounds like your cache folder isn't writable, thus, the actual autoload stuff isn't written to the cache