If I enable the user relationship views module I get following error message for the lines 3024 und 3046 in ...\includes\bootstrap.inc:

"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()"

How can I fix this error?

Comments

G Gavitt’s picture

I saw this same notice on user pages when I moved a project to a server using PHP Version 5.3.8

In the comments for the file that's generating the warning, you can see that its based on views_handler_filter_user_name. My change mirrors that submit function. I am not really sure how this change will effect this module..this part of the code looks like its part of the views relationship admin section? So use this fix at your own risk till somebody else can confirm this wont blow things up.

Line 114 in user_relationships_views/views_handler_filter_user_relationships_type.inc

Old
function value_submit() { }

New
function value_submit($form, &$form_state) { }

absoludo’s picture

I can confirm that this sollution solves the strict warnings and I think the sollution is valid, but I cannot test this thoroughly at this time.
If I have tested this and no patch is provided I will try and create a patch.

@G Gavitt cheers!

mrf’s picture

Status: Active » Closed (duplicate)