AltoRouter icon indicating copy to clipboard operation
AltoRouter copied to clipboard

reset references

Open neecride opened this issue 1 year ago • 0 comments

hello, I have this error with the references I don't know how to solve it?

I send an email to the user when he forgets his password and I have this error, but I do the same thing to validate his account and I do not have this error.

"altorouter/altorouter": "^2.0"

C:\wamp64\www\cmstest\public\index.php:87:
array (size=3)
  'target' => string 'reset' (length=5)
  'params' => 
    array (size=2)
      'username' => string 'test' (length=12)
      'token' => string 'pzicvnykavgyqqvleazcwsjxfmki90gxf7d9yuzpo0o3gtlqeilegs4vpb2k' (length=60)
  'name' => string 'reset' (length=5)

Warning: Parameter 1 to reset() expected to be a reference, value given in C:\wamp64\www\cmsbrute\public\index.php on line 88
Warning: reset() expects exactly 1 parameter, 2 given in C:\wamp64\www\cmsbrute\public\index.php on line 88

line 88 ===> call_user_func_array($match['target'], $match['params']);

neecride avatar Mar 07 '23 08:03 neecride