According the api, it looks like it should not be expecting parameters to be passed by reference.

http://api.drupal.org/api/drupal/modules--user--user.api.php/function/ho...

Files: 
CommentFileSizeAuthor
#1 pass_by_value-1282564-1.patch494 bytesDeeLay

Comments

StatusFileSize
new494 bytes

Attached patch

Version:7.x-2.x-dev» 7.x-2.7

Still present.

The error message reads "Warning: Parameter 1 to page_title_user_cancel() expected to be a reference, value given in module_invoke_all()". The function's signature doesn't match the requirement defined by hook_user_cancel().

The error is still in the dev. The patch #1 looks fine. Go commit it.

Title:Warning: Parameter 1 to page_title_user_cancel() expected to be a reference, value given in module_invoke_all()page_title_user_cancel() has bad signature
Version:7.x-2.7» 7.x-2.x-dev
Priority:Minor» Normal
Status:Active» Reviewed & tested by the community

This is just to confirm that the patch fixes the problem. We're using it in production and no longer see the error.

Patch #1 works for me! No longer do i see the error.

Patch #1 works for me too!

Bug related in my project.
https://drupal.org/node/2027615