Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''10'' at line 4 in /home/pcguystelc/public_html/includes/UnifiedPaymentManager.php:587 Stack trace: #0 /home/pcguystelc/public_html/includes/UnifiedPaymentManager.php(587): PDOStatement->execute(Array) #1 /home/pcguystelc/public_html/unified-payment-system.php(213): UnifiedPaymentManager->getPaymentHistory(1, 10) #2 {main} thrown in /home/pcguystelc/public_html/includes/UnifiedPaymentManager.php on line 587