I am trying to create a new theme on cake 3.6., called “Twit”
I have already created all the directory tree:
/plugins/Twit/src/Template/… (Layout, Pages, etc…)
The Default theme is up and running w/o any problem, but whenever i try to call the theme “Twit”, by using on AppController.php:
public function beforeRender(\Cake\Event\Event $event) {
$this->viewBuilder()->setTheme('Twit');
}
it returns:
An Internal Server Error Occurred
Any clues?