This bug was fixed in the v5.1 branch. I can tell you're blocked from upgrading to v5.1 because you also run DB Shop, which is unfortunate.
I would recommend giving them 16 coins per day instead (closest to 500 coins as division will permit) until such a time as you're able to upgrade after DB Shop has been reworked.
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.