When trying to "Reset flags", after the confirmation step, I'm seeing the following PHP Fatal Error in version 6.x-2.0-rc1:
"Fatal error: Call to undefined function flag_reset_flag() in ~/sites/all/modules/flag_abuse/flag_abuse.module on line 70"
The function flag_reset_flag doesn't exist anywhere in the flag_abuse module's code as far as I can see, and a quick grep isn't showing the function anywhere else in my install, including anywhere in the Flag 6.x-1.3 module. Do I have a version incompatibility, or is this just a mistake I could patch?
Many thanks in advance,
Alex
Comments
Comment #1
amandine_m commentedYou have to install Flag 6.x-2 module instead of 6.x-1.3
Comment #2
Siriki commentedi got a same error.now i install the 6.x-2.
Hi amandine_hyptique ,
i have one doubt. when i install the flag module, in that time no pb.But i enable the flag_note module in that time i got an error.
Fatal_error: unsupported operand types in flag module in line 1603.
please tel me solution.
Thanks
Comment #3
amandine_m commentedSorry, I don't use flag note module, so unfortunatly I can't help you.
Just be sure to have the good version (6.2-x releases are only compatible with flag module version 2).
The problem is the versions 6.2 are still in dev, so maybe there are some bugs.
Comment #4
Siriki commentedok.Thanks for quick replay.
Comment #5
Ainur commentedflag_reset_flag() function is called but it's missing somehow.
Try adding this
to flag_abuse.module.
I'll appreciate if someone will commit a patch for this .
Comment #6
ClaireC commentedAnd here's the patch. Thank you Ainur
Comment #7
sirkitree commentedThe reset function is in Flag-2.x. You should not need this if you are using Flag Abuse 2 with Flag 2, as listed in the Dependencies on the project page of this module.
Comment #8
Ainur commentedsirkitree my bad.
Comment #9
sirkitree commented