Closed (won't fix)
Project:
fastpath_fscache
Version:
5.x-1.0-rc1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2008 at 21:19 UTC
Updated:
21 Sep 2012 at 14:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
gregglesI'm seeing this too. I'm not sure what the consequence is though.
Checking that line it is the function signature for hook_user. Looking at the docs for hook_user - http://api.drupal.org/api/function/hook_user/5 - it seems that
1) this function wasn't taking some of the args by reference which is probably should
2) this function wasn't using a default for $category so when the optional $category parameter was passed, php wasn't able to default it and instead complains.
I'm not sure that this is critical or even causes any problems, necessarily, but the attached patch should fix it (I haven't tested it yet, I'll be watching my logs to see if the error comes up again).
@int - please test out the patch and respond back if it solves the problem for you (and also what the problem you experience is).
Comment #2
Veggieryan commented+1 for this patch
fixed the error for me.
rtbc baby. ;)
Comment #3
Konstantin_by commentedHow to apply patch?
Comment #4
greggles@Konstantin_by - http://drupal.org/node/60108
Comment #5
kenorb commentedBut this patch doing nothing. $array and $user are not updated anywhere, so it not make sense to make them referenceable.
The error is related to 4th argument what's set in latest snapshot.
Comment #6
kenorb commented5.x version is no longer supported, try 6.x