Maintenance error
Permalink
Hello,
I got the following error when I set my website in maintenance mode:
Custom maintenance code:
(tried adding "<?php Loader::element('header_required'); ?>", but that didn't work either.)
Site_theme_Path:
(tried it without the custom theme, but still got the error)
Every other custom page is working except the maintenance page.
Any idea how to fix this problem?
I got the following error when I set my website in maintenance mode:
Fatal error: Call to a member function getCollectionAttributeValue() on a non-object in /www/htdocs/######/updates/concrete5.6.3.1/concrete/elements/header_required.php on line 42
Custom maintenance code:
(tried adding "<?php Loader::element('header_required'); ?>", but that didn't work either.)
Site_theme_Path:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); define('ENABLE_NEWSFLOW_OVERLAY', False); $v = View::getInstance(); $v->setThemeByPath('/login', "####"); $v->setThemeByPath('/register', "####"); $v->setThemeByPath('/maintenance_mode', "####"); $v->setThemeByPath('/page_forbidden', "####"); $v->setThemeByPath('/page_not_found', "####");
(tried it without the custom theme, but still got the error)
Every other custom page is working except the maintenance page.
Any idea how to fix this problem?
Any idea wich files I could check to fix this problem. I would be great if someone can point me out in the right direction. Or have an idea what to change to get it back to normal.
Thanks