0

在 Drupal 中使用 Zen 子主题时,我收到以下警告。我该如何解决它们?

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).
4

1 回答 1

0

在子主题的 .info 文件中,添加以下行:

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

我在http://drupal.org/node/1357538找到了这个解决方法。

于 2012-06-18T19:28:45.167 回答