HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

YAGA calling undefined method - Couldn't add badges

This discussion is related to the Yet Another Gamification Application addon.
xm1xm1 New
edited November 2015 in Vanilla 2.0 - 2.8

I was trying to add YAGA badges but I was getting error 500, so I checked error logs and found out that YAGA is calling a method that does exist GDN_Validation::ApplyRules().

I copied this method from 2.1 and pasted in the GDN_Validation class and that fixed the issue.

I saw this in the change log.

@Linc said:

  • Refactor the validation object & permission model.

So I want to ask, has the GDN_Validation::ApplyRules() method been removed for real? or this is a mistake?


Sign In or Register to comment.