Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
I get the following errors on the maintenance page using a theme based off of Aurora:
Notice: Undefined variable: page_top in include() (line 30 of /themes/contrib/aurora/templates/system/maintenance-page.tpl.php).
Notice: Undefined variable: page_bottom in include() (line 72 of /themes/contrib/aurora/templates/system/maintenance-page.tpl.php).
I'm guessing that for whatever reason the page_top and page_bottom regions aren't defined in the maintenance page html (or 404 or 403 pages possibly)?
I'm not sure if the best way is to wrap the calls to page_top and page_bottom in an isset like this:
isset($page_top) ? print $page_top : '';
This is basically the solution implemented here: https://drupal.org/node/1884270
or to add a couple lines to the preprocess_html function like this:
$vars['page_top'] = isset($vars['page_top']) ? $vars['page_top'] : '';
What do you think?
Comments
Comment #1
iamcarrico CreditAttribution: iamcarrico commentedI am going to take a look at this today, the maintenance page needs some lovin' today--- .
Comment #2
mariacha1 CreditAttribution: mariacha1 commentedComment #4
iamcarrico CreditAttribution: iamcarrico commentedMixed up the template, shouldn't error out now.
Comment #6
coozila CreditAttribution: coozila commentedsubscribe