【发布时间】:2015-01-23 07:06:41
【问题描述】:
我用 drupal 6.34 创建了一个网站。
当我浏览我的 drupal 6.34 站点时,我在页面顶部收到以下错误。我搜索了 drupal 但无法弄清楚它的设置在哪里。我想知道我是否应该更改错误框架中提到的代码? 它是什么以及如何在 drupal 6.34 中关闭它。
strict warning: Non-static method view::load() should not be called statically in /home/b15040be/public_html/sites/all/modules/views/views.module on line 903.
严格警告:views_handler_field::query() 的声明应与 /home/b15040be/public_html/sites/all/modules/views/handlers/views_handler_field.inc 中的 views_handler::query($group_by = false) 兼容第 726 行。 严格警告:views_handler_filter::options_validate() 的声明应与 /home/b15040be/public_html/sites/all/modules/views/handlers/views_handler_filter.inc 中的 views_handler::options_validate($form, &$form_state) 兼容517. 严格警告:views_handler_filter::query() 的声明应与第 517 行 /home/b15040be/public_html/sites/all/modules/views/handlers/views_handler_filter.inc 中的 views_handler::query($group_by = false) 兼容。 严格警告:views_plugin_query::init() 的声明应与 /home/b15040be/public_html/sites/all/modules/views/plugins/views_plugin_query.inc 中的 views_plugin::init(&$view, &$display) 兼容第 139 行。 严格警告:views_plugin_row::options_validate() 的声明应与 /home/b15040be/public_html/sites/all/modules/views/plugins/views_plugin_row.inc 中的 views_plugin::options_validate(&$form, &$form_state) 兼容第 137 行。
【问题讨论】:
-
你使用的是什么版本的 PHP?
标签: drupal content-management-system drupal-6