Maintenance error

Permalink
Hello,

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:
<?php  defined('C5_EXECUTE') or die("Access Denied."); ?>
<h1><?php echo t('Onderhoud')?></h1>
<?php echo t('We zijn momenteel bezig met onderhoud. #### is zodadelijk weer beschikbaar.')?>
<?php  if (is_object($c)) { ?>
   <br/><br/>
   <?php  $a = new Area("Main"); $a->display($c); ?>
<?php  } ?>

(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?

 
mesign replied on at Permalink Reply
*bumb

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
awestrope replied on at Permalink Reply
Did you resolve this?
awestrope replied on at Permalink Reply
Did you resolve this?