I get following error message when the site is put offline:

Notice: Undefined variable: add_responsive_meta in include() (line 23 of /var/www/sites/dralegal.org/themes/contrib/zen/templates/maintenance-page.tpl.php).

When I compared the html.tpl.php and maintenance-page.tpl.php I noticed that html template is actually using $default_mobile_metatags variable.
$add_responsive_meta variable in maintenance template should be replaced with $default_mobile_metatags.

I copied the template to my theme and applied the change. Notice disappeared.

Comments

echoz’s picture

Status: Active » Closed (duplicate)

This has been fixed in the dev version. Marking as a duplicate of #1557828: PHP warnings due to maintenance-page.tpl being out-of-sync from html.tpl and page.tpl