/* PATCH ONLY (UnlockService.php) Replace this SQL: VALUES (?,?,?,?,"UNLOCKED",?,?,?,?,NOW(),NOW()) With this SQL: VALUES (?,?,?,?,"UNLOCKED",?,?,?,NOW(),NOW(),NOW()) Reason: reward_unlocks has 11 columns in INSERT. There are only 7 bound parameters after status. The previous query had 8 placeholders, producing: SQLSTATE[HY093]: Invalid parameter number */