404 page not found error when setting it to the theme of choice

Permalink
Hi All,

I need help!
I got this error on the page not found that I have been working on.
I just assigned page not found to my theme of choice in config/site_theme_paths.php below is the error.

Fatal error: Call to a member function getCustomAreaStyles() on a non-object --> collection.php on line 522.

# concrete5-Version
5.6.2.1

Thanks,
Longki

longki
 
longki replied on at Permalink Reply
longki
It is now fixed. The controller of page_not_found.php was altered that is why it was not working correctly.