Help to correct errors. php 5.4

strict warning: Non-static method view::load_views() should not be called statically in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/views.module on line 1076.
strict warning: Non-static method view::db_objects() should not be called statically in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/includes/view.inc on line 1609.
strict warning: Non-static method view::load() should not be called statically in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/views.module on line 1118.
strict warning: Declaration of views_handler_field::query() should be compatible with views_handler::query($group_by = false) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_field.inc on line 1148.
strict warning: Declaration of views_handler_sort::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_sort.inc on line 165.
strict warning: Declaration of views_handler_sort::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_sort.inc on line 165.
strict warning: Declaration of views_handler_sort::query() should be compatible with views_handler::query($group_by = false) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_sort.inc on line 165.
strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
strict warning: Declaration of views_handler_filter::query() should be compatible with views_handler::query($group_by = false) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
strict warning: Declaration of views_handler_relationship::query() should be compatible with views_handler::query($group_by = false) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/handlers/views_handler_relationship.inc on line 149.
strict warning: Declaration of views_plugin_query::options_submit() should be compatible with views_plugin::options_submit($form, &$form_state) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/plugins/views_plugin_query.inc on line 181.
strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 24.
strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/plugins/views_plugin_row.inc on line 136.

Comments

dawehner’s picture


strict warning: Non-static method view::load_views() should not be called statically in /var/www/nurofen/data/www/gosha.me/sites/all/modules/views/views.module on line 1076.

There is simply no workaround here, because views 6.x-3.x has to work with php4, though php 5.4, actually also 5.3, throws errors if you call a non-static function static. I suggest you to disable this error messages, or ignore them.

About the other issues, i'm pretty sure there was an issue about that. This was fixed quite some time ago in 7.x-3.x, but didn't got backported.

zloy’s picture

Warnings will be corrected???

pfrenssen’s picture

Cross-referencing the issue about the strict warning in 7.x-3.x as mentioned in #1: #783718: Latest Versions of D7 (Alpha-4 and Dev) both throw strict warning message..

joachim’s picture

Status: Active » Closed (duplicate)