Bug Error while triggering event through trophies

Status
Not open for further replies.

ibinod

Customer
Hi, I get this error while the credit event is triggered through trophy...

so i've set the user to gain 200 credits when a trophy is earnt

but i got this error

how can i fix this please?
thanks.

8586
 
Aww.. it was kind of important.. is there any code changes or something that you could refer me so we can apply a temporary fix this...?

when will the next version be released?
 
I'm currently setting up a new workstation, I'll keep this ticket open and let you know what changes are required as soon as I can :)
 
Go to /src/addons/DBTech/Credits/EventTrigger/Trophy.php and change the relevant block to this:
PHP:
        if (
            $event->getSetting('trophy')
            && !in_array($extraParams->trophy_id, $event->getSetting('trophy'))
        )
 
Hello @ibinod,

We hope your ticket regarding DragonByte Credits has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
4,257
Customer rating
5.00 star(s) 4 ratings
Back
Top