I know what the problem is, but I'm not sure if I know how to fix it (the credit system is throwing a php error)