On a project where we needed to upgrade views 7.x-3.0-beta3 to views 7.x-3.x (commit: fd0d1b7 ...)
After the upgrade, we're getting this error:
* Strict warning: Declaration of views_handler_field_fontyourface_tag_font_tid::init() should be compatible with that of views_handler_field::init() in require_once() (line 12 of /D7/sites/all/modules/fontyourface/views/views_handler_field_fontyourface_tag_font_tid.inc).
* Strict warning: Declaration of views_handler_field_fontyourface_tag_font_tid::pre_render() should be compatible with that of views_handler_field::pre_render() in require_once() (line 12 of /D7/sites/all/modules/fontyourface/views/views_handler_field_fontyourface_tag_font_tid.inc).
* Strict warning: Declaration of views_handler_filter_tag_font_tid::value_validate() should be compatible with that of views_handler_filter::value_validate() in _registry_check_code() (line 2724 of /D7/includes/bootstrap.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | StrictWarning-1185280-2.patch | 872 bytes | mike stewart |
| #1 | StrictWarning-1185280-1.patch | 1.33 KB | mike stewart |
Comments
Comment #1
mike stewart commentedand here's a *potential* fix, obviously needs review. I'm really not sure if you want to pass these by reference or not... but it makes the error messages go away ;-)
Comment #2
mike stewart commentedrealized the last patch was built off file source from 7.x-1.2 branch...
this patch is based on 7.x-1.x (dev)
Comment #3
sreynen commentedFix committed to dev. Thanks for both the report and the patch, mike stewart.