Hi!

When I create a view, which includes pictures of node's authors, I get this error (if the view is displayed as a page or inside a mini-block):

Strict warning: Declaration of views_handler_field_user_picture::element_type() should be compatible with that of views_handler_field::element_type() в функции require_once() (строка 6 в файле [site]\sites\all\modules\views\modules\user\views_handler_field_user_picture.inc).

And if the view is displayed in QuickTab, error looks like this:

Strict warning: Declaration of views_handler_field_user_picture::element_type() should be compatible with that of views_handler_field::element_type() в функции _registry_check_code() (строка 2789 в файле [site]\includes\bootstrap.inc).
CommentFileSizeAuthor
#1 1131928-element_type-signature.patch1.26 KBdawehner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
1.26 KB

I'm not really sure how strict $inline should behave, so here is a first patch.

dawehner’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

Okay commited this after textual review of earl.

Figure out whether this should be backported.

AlexeyB’s picture

Thank you!

The bug was gone.

AlexeyB’s picture

Status: Patch (to be ported) » Closed (fixed)
merlinofchaos’s picture

Status: Closed (fixed) » Patch (to be ported)

Uhh. Please be careful with issue statuses. dereine set this status because the fix needs to be backported to 6.x-3.x

dawehner’s picture

Status: Patch (to be ported) » Fixed

Okay ported the patch to 6.x-3.x

Status: Fixed » Closed (fixed)

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