Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction in /usr/local/lsws/DEFAULT/html/affiliates-app/API/database_connection.php:0 Stack trace: #0 /usr/local/lsws/DEFAULT/html/affiliates-app/API/database_connection.php(0): PDO->query() #1 /usr/local/lsws/DEFAULT/html/affiliates-app/API/database_connection.php(0): TraceablePDO->profileCall() #2 /usr/local/lsws/DEFAULT/html/affiliates-app/API/data.php(0): TraceablePDO->query() #3 /usr/local/lsws/DEFAULT/html/affiliates-app/API/config.php(46): include('...') #4 /usr/local/lsws/DEFAULT/html/affiliates-app/idevaffiliate.php(0): unknown() #5 {main} thrown in /usr/local/lsws/DEFAULT/html/affiliates-app/API/database_connection.php on line 0