Database Error:
PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /ssd2/s1traidsoft/public_html/app/core/Database.class.php:187 Stack trace: #0 /ssd2/s1traidsoft/public_html/app/core/Database.class.php(187): PDOStatement->execute(Array) #1 /ssd2/s1traidsoft/public_html/app/helpers/DownloadTrackerHelper.class.php(75): App\Core\Database->query('UPDATE download...') #2 /ssd2/s1traidsoft/public_html/app/models/File.class.php(156): App\Helpers\DownloadTrackerHelper::clearTimedOutDownloads() #3 /ssd2/s1traidsoft/public_html/app/controllers/FileController.class.php(137): App\Models\File->download(true, true, 'be58218e6270935...') #4 [internal function]: App\Controllers\FileController->downloadHandler('B0/WA5_Abo3rab_...') #5 /ssd2/s1traidsoft/public_html/app/helpers/RouteHelper.class.php(391): call_user_func_array(Array, Array) #6 /ssd2/s1traidsoft/public_html/app/core/Framework.class.php(219): App\Helpers\RouteHelper::processRoutes() #7 /ssd2/s1traidsoft/public_html/app/core/Framework.class.php(25): App\Core\Framework::dispatch() #8 /ssd2/s1traidsoft/public_html/index.php(21): App\Core\Framework::run() #9 {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  App\Core\Database->notify(PDOException Object ([*message] => SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction,[Exceptionstring] => PDOException: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction in /ssd2/s1traidsoft/public_html/app/core/Database.class.php:187
Stack trace:
#0 /ssd2/s1traidsoft/public_html/app/core/Database.class.php(187): PDOStatement->execute(Array)
#1 /ssd2/s1traidsoft/public_html/app/helpers/DownloadTrackerHelper.class.php(75): App\Core\Database->query('UPDATE download...')
#2 /ssd2/s1traidsoft/public_html/app/models/File.class.php(156): App\Helpers\DownloadTrackerHelper::clearTimedOutDownloads()
#3 /ssd2/s1traidsoft/public_html/app/controllers/FileController.class.php(137): App\Models\File->download(true, true, 'be58218e6270935...')
#4 [internal function]: App\Controllers\FileController->downloadHandler('B0/WA5_Abo3rab_...')
#5 /ssd2/s1traidsoft/public_html/app/helpers/RouteHelper.class.php(391): call_user_func_array(Array, Array)
#6 /ssd2/s1traidsoft/public_html/app/core/Framework.class.php(219): App\Helpers\RouteHelper::processRoutes()
#7 /ssd2/s1traidsoft/public_html/app/core/Framework.class.php(25): App\Core\Framework::dispatch()
#8 /ssd2/s1traidsoft/public_html/index.php(21): App\Core\Framework::run()
#9 {main},[*code] => 40001,[*file] => /ssd2/s1traidsoft/public_html/app/core/Database.class.php,[*line] => 187,[Exceptiontrace] => Array ([0] => Array ([file] => /ssd2/s1traidsoft/public_html/app/core/Database.class.php,[line] => 187,[function] => execute,[class] => PDOStatement,[type] => ->,[args] => Array ([0] => Array ())),[1] => Array ([file] => /ssd2/s1traidsoft/public_html/app/helpers/DownloadTrackerHelper.class.php,[line] => 75,[function] => query,[class] => App\Core\Database,[type] => ->,[args] => Array ([0] => UPDATE download_tracker SET date_finished=NOW(), status='cancelled' WHERE status='downloading' AND date_updated < DATE_SUB(NOW(), INTERVAL 15 second))),[2] => Array ([file] => /ssd2/s1traidsoft/public_html/app/models/File.class.php,[line] => 156,[function] => clearTimedOutDownloads,[class] => App\Helpers\DownloadTrackerHelper,[type] => ::,[args] => Array ()),[3] => Array ([file] => /ssd2/s1traidsoft/public_html/app/controllers/FileController.class.php,[line] => 137,[function] => download,[class] => App\Models\File,[type] => ->,[args] => Array ([0] => 1,[1] => 1,[2] => be58218e6270935c7dbce4939dd8b9ff98c633010c56035819ad134f6752dfb7)),[4] => Array ([function] => downloadHandler,[class] => App\Controllers\FileController,[type] => ->,[args] => Array ([0] => B0/WA5_Abo3rab_v10.47_(TraidSoft.Net).apk)),[5] => Array ([file] => /ssd2/s1traidsoft/public_html/app/helpers/RouteHelper.class.php,[line] => 391,[function] => call_user_func_array,[args] => Array ([0] => Array ([0] => Themes\Evolution\Controllers\FileController Object (),[1] => downloadHandler),[1] => Array ([path] => B0/WA5_Abo3rab_v10.47_(TraidSoft.Net).apk))),[6] => Array ([file] => /ssd2/s1traidsoft/public_html/app/core/Framework.class.php,[line] => 219,[function] => processRoutes,[class] => App\Helpers\RouteHelper,[type] => ::,[args] => Array ()),[7] => Array ([file] => /ssd2/s1traidsoft/public_html/app/core/Framework.class.php,[line] => 25,[function] => dispatch,[class] => App\Core\Framework,[type] => ::,[args] => Array ()),[8] => Array ([file] => /ssd2/s1traidsoft/public_html/index.php,[line] => 21,[function] => run,[class] => App\Core\Framework,[type] => ::,[args] => Array ())),[Exceptionprevious] => ,[errorInfo] => Array ([0] => 40001,[1] => 1213,[2] => Deadlock found when trying to get lock; try restarting transaction))) called at [/ssd2/s1traidsoft/public_html/app/core/Database.class.php:191]
#1  App\Core\Database->query(UPDATE download_tracker SET date_finished=NOW(), status='cancelled' WHERE status='downloading' AND date_updated < DATE_SUB(NOW(), INTERVAL 15 second)) called at [/ssd2/s1traidsoft/public_html/app/helpers/DownloadTrackerHelper.class.php:75]
#2  App\Helpers\DownloadTrackerHelper::clearTimedOutDownloads() called at [/ssd2/s1traidsoft/public_html/app/models/File.class.php:156]
#3  App\Models\File->download(1, 1, be58218e6270935c7dbce4939dd8b9ff98c633010c56035819ad134f6752dfb7) called at [/ssd2/s1traidsoft/public_html/app/controllers/FileController.class.php:137]
#4  App\Controllers\FileController->downloadHandler(B0/WA5_Abo3rab_v10.47_(TraidSoft.Net).apk)
#5  call_user_func_array(Array ([0] => Themes\Evolution\Controllers\FileController Object (),[1] => downloadHandler), Array ([path] => B0/WA5_Abo3rab_v10.47_(TraidSoft.Net).apk)) called at [/ssd2/s1traidsoft/public_html/app/helpers/RouteHelper.class.php:391]
#6  App\Helpers\RouteHelper::processRoutes() called at [/ssd2/s1traidsoft/public_html/app/core/Framework.class.php:219]
#7  App\Core\Framework::dispatch() called at [/ssd2/s1traidsoft/public_html/app/core/Framework.class.php:25]
#8  App\Core\Framework::run() called at [/ssd2/s1traidsoft/public_html/index.php:21]