Database Error.

SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared

exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared' in /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/database/DB.php:47 Stack trace:
#0 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/database/DB.php(47): PDO->query('SELECT * FROM...')
#1 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/EntityUtil.php(19): WS\Database\DB->execute('SELECT * FROM...')
#2 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/EntityProvider.php(34): WS\Core\EntityUtil->processObjectQuery(Object(WS\DataBase\QueryObjectSelect))
#3 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/EntityManager.php(55): WS\Core\EntityProvider->getObjects('WS\\Modules\\Cate...', Array)
#4 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/modules/category/CategoryDescriptorService.php(53): WS\Core\EntityManager->getObjects('WS\\Modules\\Cate...', Array)
#5 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/modules/category/CategoryController.php(40): WS\Modules\Category\CategoryDescriptorService->getCategoryList(Array)
#6 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/client/ClientModuleController.php(23): Client\Modules\Category\CategoryController->initView()
#7 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/ModuleWebController.php(24): WS\Client\ClientModuleController->init()
#8 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/ModuleManager.php(27): WS\Core\ModuleWebController->__construct(Object(WS\Model\Route))
#9 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/Application.php(59): WS\Core\ModuleManager->loadModule(Object(WS\Model\Route))
#10 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/ws3.1/core/Application.php(200): WS\Core\Application->run()
#11 /data/a/b/ab3a1e6e-3c3d-4417-b76b-f1c4d8feb47b/naturaline.sk/web/index.php(26): WS\Core\Application::start()
#12 {main}

BACK