Every page generates multiple errors like below. Using PHP version 5.4.6. Did not have errors under PHP 5.3.x
Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /var/www/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /var/www/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /var/www/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /var/www/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /var/www/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /var/www/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
Comments
Comment #1
ibnkhaldun commentedI'm using some utilities from Data module. Every pages usign views send a at least 1 similar warning:
Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) ... I did not test over php 5.3 so can't say more.
Are there a patch to fix it?
A few days ago I posted a similar issue on views method declarations see A warning from Views just activated in D6.29
I guess, there is a compatibility issue D6.2x - PHP 5.4.6+
NOPE !!! not a compatibility issue ! there are a real missdeclaration problem I found signature differences on extending classes. See comment on signatures
Comment #2
damienmckennaDuplicate of #2411093: PHP strict warnings: Declaration of ... should be compatible with ... (which has a patch).