When using a Zen sub-theme in Drupal, I get the following warnings. How can I resolve them?

Warning: in_array() [function.in-array]: Wrong datatype for second argument in zen_preprocess_html() (line 111 of sites/all/themes/zen/template.php).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in zen_preprocess_html() (line 112 of sites/all/themes/zen/template.php).
Warning: in_array() [function.in-array]: Wrong datatype for second argument in zen_preprocess_html() (line 113 of sites/all/themes/zen/template.php).
有帮助吗?

解决方案

In the sub-theme's .info file, add these lines:

settings[zen_html5_respond_meta][] = respond
settings[zen_html5_respond_meta][] = html5
settings[zen_html5_respond_meta][] = meta

I found this workaround at http://drupal.org/node/1357538.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top