Closed (duplicate)
Project:
Zen
Version:
7.x-5.0
Component:
PHP/JS code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2012 at 00:08 UTC
Updated:
11 May 2012 at 03:51 UTC
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
Comment #1
echoz commentedThis 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