Strict warning: Declaration of votingapi_views_handler_field_value::element_type() should be compatible with that of views_handler_field::element_type() en require_once() (line 9 sites\all\modules\votingapi\views\votingapi_views_handler_field_value.inc)

Please, help.

CommentFileSizeAuthor
#6 votingapi_strict_warning-1244850-6.patch548 bytesjaydub

Comments

eaton’s picture

Status: Active » Fixed

Fixed in the dev release, will be rolled into the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Oleksa-1’s picture

Version: 7.x-2.4 » 7.x-2.6
Status: Closed (fixed) » Active

Still have same error in 2.6

Strict warning: Declaration of votingapi_views_handler_field_value::element_type() should be compatible with that of views_handler_field::element_type() in require_once() (line 8 of C:\xampp\htdocs\db6\sites\all\modules\votingapi\views\votingapi_views_handler_field_value.inc).

_sania’s picture

i have the same problem

hgneng’s picture

I have the same problem.

jaydub’s picture

Version: 7.x-2.6 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new548 bytes

The class method signature changed in Views sometime in April 2011 to add a 3rd parameter to the method that the VotingAPI views field handler class has. The attached patch should remove the warning.

jaydub’s picture

Status: Needs review » Closed (duplicate)

Marking as duplicate in favor of issue #1110134: Views handler is broken (Views 7.x-3.x-dev) as that one has more of the relevant details.

jaydub’s picture

Issue summary: View changes

Removed duplicated content