Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#1 | 1131928-element_type-signature.patch | 1.26 KB | dawehner |
Comments
Comment #1
dawehnerI'm not really sure how strict $inline should behave, so here is a first patch.
Comment #2
dawehnerOkay commited this after textual review of earl.
Figure out whether this should be backported.
Comment #3
AlexeyB CreditAttribution: AlexeyB commentedThank you!
The bug was gone.
Comment #4
AlexeyB CreditAttribution: AlexeyB commentedComment #5
merlinofchaos CreditAttribution: merlinofchaos commentedUhh. Please be careful with issue statuses. dereine set this status because the fix needs to be backported to 6.x-3.x
Comment #6
dawehnerOkay ported the patch to 6.x-3.x