exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: select `images`.*, `image_tag`.`tag_id` as `pivot_tag_id`, `image_tag`.`image_id` as `pivot_image_id` from `images` inner join `image_tag` on `images`.`id` = `image_tag`.`image_id` where `image_tag`.`tag_id` = 1 order by RAND() asc)' in /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Connection.php:555 Stack trace: #0 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Connection.php(283): Illuminate\Database\Connection->run('select `images`...', Array, Object(Closure)) #1 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1291): Illuminate\Database\Connection->select('select `images`...', Array) #2 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1281): Illuminate\Database\Query\Builder->runSelect() #3 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1268): Illuminate\Database\Query\Builder->getFresh(Array) #4 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(446): Illuminate\Database\Query\Builder->get(Array) #5 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php(145): Illuminate\Database\Eloquent\Builder->getModels() #6 /home/u/u5949483/www/production/app/storage/views/93afc8639548209515a1060118dbf469(23): Illuminate\Database\Eloquent\Relations\BelongsToMany->get() #7 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #8 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #9 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #10 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #11 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #12 /home/u/u5949483/www/production/app/storage/views/7a0ee70a3f1316a5cf867024cc79693e(19): Illuminate\View\View->render() #13 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #14 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #15 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #16 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #17 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #18 /home/u/u5949483/www/production/app/storage/views/55cfd27ada0732b1d2d623ee6d0da19f(22): Illuminate\View\View->render() #19 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #20 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #21 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #22 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #23 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #24 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/Response.php(70): Illuminate\View\View->render() #25 /home/u/u5949483/www/production/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(202): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #26 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1427): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #27 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1003): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #28 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #29 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #30 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #31 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #32 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #33 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #34 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #35 /home/u/u5949483/www/production/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #36 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #37 /home/u/u5949483/www/production/public/index.php(49): Illuminate\Foundation\Application->run() #38 {main} Next exception 'ErrorException' with message 'SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: select `images`.*, `image_tag`.`tag_id` as `pivot_tag_id`, `image_tag`.`image_id` as `pivot_image_id` from `images` inner join `image_tag` on `images`.`id` = `image_tag`.`image_id` where `image_tag`.`tag_id` = 1 order by RAND() asc) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php)' in /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Connection.php:555 Stack trace: #0 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(Illuminate\Database\QueryException)) #1 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #2 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #3 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #4 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #5 /home/u/u5949483/www/production/app/storage/views/7a0ee70a3f1316a5cf867024cc79693e(19): Illuminate\View\View->render() #6 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #7 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #8 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #9 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #10 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #11 /home/u/u5949483/www/production/app/storage/views/55cfd27ada0732b1d2d623ee6d0da19f(22): Illuminate\View\View->render() #12 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #13 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #14 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #15 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #16 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #17 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/Response.php(70): Illuminate\View\View->render() #18 /home/u/u5949483/www/production/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(202): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #19 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1427): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #20 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1003): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #21 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #22 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #23 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #24 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #25 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #26 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #27 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #28 /home/u/u5949483/www/production/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #29 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #30 /home/u/u5949483/www/production/public/index.php(49): Illuminate\Foundation\Application->run() #31 {main} Next exception 'ErrorException' with message 'SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: select `images`.*, `image_tag`.`tag_id` as `pivot_tag_id`, `image_tag`.`image_id` as `pivot_image_id` from `images` inner join `image_tag` on `images`.`id` = `image_tag`.`image_id` where `image_tag`.`tag_id` = 1 order by RAND() asc) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php)' in /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Connection.php:555 Stack trace: #0 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException)) #1 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #2 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #3 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #4 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #5 /home/u/u5949483/www/production/app/storage/views/55cfd27ada0732b1d2d623ee6d0da19f(22): Illuminate\View\View->render() #6 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/home/u/u594948...') #7 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #8 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #9 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #10 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #11 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/Response.php(70): Illuminate\View\View->render() #12 /home/u/u5949483/www/production/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(202): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #13 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1427): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #14 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1003): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #15 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #16 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #17 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #18 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #19 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #20 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #21 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #22 /home/u/u5949483/www/production/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #23 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #24 /home/u/u5949483/www/production/public/index.php(49): Illuminate\Foundation\Application->run() #25 {main} Next exception 'ErrorException' with message 'SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared (SQL: select `images`.*, `image_tag`.`tag_id` as `pivot_tag_id`, `image_tag`.`image_id` as `pivot_image_id` from `images` inner join `image_tag` on `images`.`id` = `image_tag`.`image_id` where `image_tag`.`tag_id` = 1 order by RAND() asc) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php) (View: /home/u/u5949483/www/production/app/views/layout/header.blade.php)' in /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Database/Connection.php:555 Stack trace: #0 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException)) #1 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(56): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/u/u594948...', Array) #2 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(134): Illuminate\View\Engines\CompilerEngine->get('/home/u/u594948...', Array) #3 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(102): Illuminate\View\View->getContents() #4 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/View/View.php(76): Illuminate\View\View->renderContents() #5 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/Response.php(70): Illuminate\View\View->render() #6 /home/u/u5949483/www/production/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php(202): Illuminate\Http\Response->setContent(Object(Illuminate\View\View)) #7 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1427): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View)) #8 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1003): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View)) #9 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Routing/Router.php(968): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #10 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(738): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #11 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(708): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #12 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Http/FrameGuard.php(38): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #13 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Http\FrameGuard->handle(Object(Illuminate\Http\Request), 1, true) #14 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #15 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #16 /home/u/u5949483/www/production/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #17 /home/u/u5949483/www/production/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(606): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #18 /home/u/u5949483/www/production/public/index.php(49): Illuminate\Foundation\Application->run() #19 {main}