i see this error when i run the update.

Strict warning: Declaration of views_handler_filter_user_relationships_type::value_submit() should be compatible with that of views_handler_filter_in_operator::value_submit() in _registry_check_code() (line 3046 of ../includes/bootstrap.inc).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fraweg’s picture

Hello,

I have this issue:

Strict warning: Declaration of views_handler_filter_user_relationships_type::value_submit() should be compatible with that of views_handler_filter_in_operator::value_submit() in _registry_check_code() (line 3047 of C:\xampp\htdocs\testsite\includes\bootstrap.inc).

Dis you solve the problem?

Best regards
Frank

funature’s picture

i'm still waiting for somebody to help me.

fraweg’s picture

Hello euroba,

for me the Problem was in the views filter. There was an filter where I check the relationship name. Here was the problem. I change the filter from "User relationships: Relationship type" to "User relationship types: RTID" and use the RTID instead of the name. With this workaround it works for me.

Best regards
Frank

azovsky’s picture

fraweg’s picture

Thanks! #4 works for me.

Best regards
Frank

supadroopa’s picture

I'm having the same issue with the latest dev version... any solutions?

tobiberlin’s picture

Same here with 7.x-1.0-alpha5

#3 solved the issue

nedjo’s picture

Status: Active » Reviewed & tested by the community

The patch correctly resolves the strict warning by setting the signature to match that in the class being extended.

Status: Reviewed & tested by the community » Needs work
glynster’s picture

Failed as well even manually trying. Did you find a resolve?

Shawn DeArmond’s picture

Status: Needs work » Needs review
FileSize
685 bytes

Here's an updated patch that works for me.

glynster’s picture

Perfect patch worked seamlessly and no more errors :)

mrf’s picture

Closed #1567000: Strict warning as a duplicate of this issue.

mrf’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good to me and I see a lot of confirmations about it working manually as well as passing tests.

ergophobe’s picture

#11 seems to have fixed it for me too.

deanflory’s picture

Patch #11 worked for me when applied to 2013-Oct-19 dev. It removed (I think):

  • Strict warning: Declaration of views_handler_filter_user_relationships_type::value_submit() should be compatible with views_handler_filter_in_operator::value_submit($form, &$form_state) in _registry_check_code() (line 3119 of /.../includes/bootstrap.inc).
  • Strict warning: Declaration of userpoints_ranking_handler_filter_last_period::init() should be compatible with views_handler_filter::init(&$view, &$options) in _registry_check_code() (line 3119 of /.../includes/bootstrap.inc).
cha0s’s picture

Issue summary: View changes

Yes, it's the correct patch.

Anybody’s picture

Issue is still open and already 2 years old. It shows ugly notices.
Newer PHP versions don't like the current state :P

Is there an active maintainer in this module who could take this into .dev? That would be cool :)

heylookalive’s picture

+1 for getting this committed please!

heylookalive’s picture

Assigned: Unassigned » heylookalive
Status: Reviewed & tested by the community » Fixed

Thanks @azovsky and @Shawn DeArmond! Committed to dev branch.

Status: Fixed » Closed (fixed)

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