Call to a member function getPageController() on a non-object 5.7
Permalink
what i i doing wrong?
<?php namespace Application\Concrete\Controller\SinglePage; use \Concrete\Core\Page\Controller\PageController; class EmailSignup extends PageController { public function view() { $this->set('error', '123'); } }
application/single_pages/email_signup.php
your controller is here:
application/controllers/single_page/email_signup.php
And your namespace is wrong. It should be Application\Controller\SinglePage;