Database Error:
PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /home/admin/domains/loadfiles.net/public_html/app/core/Database.class.php:187
Stack trace:
#0 /home/admin/domains/loadfiles.net/public_html/app/core/Database.class.php(187): PDOStatement->execute()
#1 /home/admin/domains/loadfiles.net/public_html/app/helpers/DownloadTrackerHelper.class.php(69): App\Core\Database->query()
#2 /home/admin/domains/loadfiles.net/public_html/app/controllers/FileController.class.php(172): App\Helpers\DownloadTrackerHelper::clearTimedOutDownloads()
#3 [internal function]: App\Controllers\FileController->downloadHandler()
#4 /home/admin/domains/loadfiles.net/public_html/app/helpers/RouteHelper.class.php(409): call_user_func_array()
#5 /home/admin/domains/loadfiles.net/public_html/app/core/Framework.class.php(237): App\Helpers\RouteHelper::processRoutes()
#6 /home/admin/domains/loadfiles.net/public_html/app/core/Framework.class.php(26): App\Core\Framework::dispatch()
#7 /home/admin/domains/loadfiles.net/public_html/index.php(21): App\Core\Framework::run()
#8 {main}
Last Rendered Query:
UPDATE download_tracker SET date_finished=NOW(), status='cancelled' WHERE status='downloading' AND date_updated < DATE_SUB(NOW(), INTERVAL 15 second)
#0 /home/admin/domains/loadfiles.net/public_html/app/core/Database.class.php(191): App\Core\Database->notify(Object(PDOException))
#1 /home/admin/domains/loadfiles.net/public_html/app/helpers/DownloadTrackerHelper.class.php(69): App\Core\Database->query('...')
#2 /home/admin/domains/loadfiles.net/public_html/app/controllers/FileController.class.php(172): App\Helpers\DownloadTrackerHelper::clearTimedOutDownloads()
#3 [internal function]: App\Controllers\FileController->downloadHandler('...')
#4 /home/admin/domains/loadfiles.net/public_html/app/helpers/RouteHelper.class.php(409): call_user_func_array(Array, Array)
#5 /home/admin/domains/loadfiles.net/public_html/app/core/Framework.class.php(237): App\Helpers\RouteHelper::processRoutes()
#6 /home/admin/domains/loadfiles.net/public_html/app/core/Framework.class.php(26): App\Core\Framework::dispatch()
#7 /home/admin/domains/loadfiles.net/public_html/index.php(21): App\Core\Framework::run()