500

exception 'ErrorException' with message 'Invalid argument supplied for foreach()' in /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f:1094 Stack trace: #0 /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f(1094): Illuminate\Exception\Handler->handleError(2, 'Invalid argumen...', '/var/www/html/B...', 1094, Array) #1 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #2 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #3 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #4 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #5 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #6 /var/www/html/Buytopia/app/storage/views/6724aefe396d7df4f179b10f2bf28085(66): Illuminate\View\View->render() #7 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #8 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #9 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #10 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #11 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #12 /var/www/html/Buytopia/app/storage/views/16d3c0cbdaa9cf64259540a49c8c1017(1205): Illuminate\View\View->render() #13 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #14 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #15 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #16 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #17 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #18 /var/www/html/Buytopia/app/storage/views/4b9db2a45dad0a82bec3a5f1c3f32761(606): Illuminate\View\View->render() #19 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #20 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #21 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #22 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #23 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #24 /var/www/html/Buytopia/app/controllers/MasterController.php(177): Illuminate\View\View->render() #25 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Controllers\MasterController->callAction('getSearch', Array) #26 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(Controllers\Www\DealsController), Object(MaartenStaa\Routing\Route), 'getSearch') #27 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(MaartenStaa\Routing\Route), Object(Illuminate\Http\Request), 'Controllers\\Www...', 'getSearch') #28 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}() #29 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #30 /var/www/html/Buytopia/vendor/maartenstaa/laravel-41-route-caching/src/Route.php(61): Illuminate\Routing\Route->run() #31 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): MaartenStaa\Routing\Route->run(Object(Illuminate\Http\Request)) #32 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #33 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #34 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #35 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #36 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #37 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #38 /var/www/html/Buytopia/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #39 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #40 /var/www/html/Buytopia/public/index.php(50): Illuminate\Foundation\Application->run() #41 {main} Next exception 'ErrorException' with message 'Invalid argument supplied for foreach() (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php)' in /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f:1094 Stack trace: #0 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #2 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #3 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #4 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #5 /var/www/html/Buytopia/app/storage/views/6724aefe396d7df4f179b10f2bf28085(66): Illuminate\View\View->render() #6 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #7 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #8 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #9 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #10 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #11 /var/www/html/Buytopia/app/storage/views/16d3c0cbdaa9cf64259540a49c8c1017(1205): Illuminate\View\View->render() #12 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #13 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #14 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #15 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #16 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #17 /var/www/html/Buytopia/app/storage/views/4b9db2a45dad0a82bec3a5f1c3f32761(606): Illuminate\View\View->render() #18 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #19 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #20 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #21 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #22 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #23 /var/www/html/Buytopia/app/controllers/MasterController.php(177): Illuminate\View\View->render() #24 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Controllers\MasterController->callAction('getSearch', Array) #25 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(Controllers\Www\DealsController), Object(MaartenStaa\Routing\Route), 'getSearch') #26 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(MaartenStaa\Routing\Route), Object(Illuminate\Http\Request), 'Controllers\\Www...', 'getSearch') #27 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}() #28 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #29 /var/www/html/Buytopia/vendor/maartenstaa/laravel-41-route-caching/src/Route.php(61): Illuminate\Routing\Route->run() #30 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): MaartenStaa\Routing\Route->run(Object(Illuminate\Http\Request)) #31 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #32 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #33 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #34 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #35 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #36 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #37 /var/www/html/Buytopia/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #38 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #39 /var/www/html/Buytopia/public/index.php(50): Illuminate\Foundation\Application->run() #40 {main} Next exception 'ErrorException' with message 'Invalid argument supplied for foreach() (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php)' in /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f:1094 Stack trace: #0 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #2 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #3 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #4 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #5 /var/www/html/Buytopia/app/storage/views/16d3c0cbdaa9cf64259540a49c8c1017(1205): Illuminate\View\View->render() #6 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #7 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #8 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #9 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #10 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #11 /var/www/html/Buytopia/app/storage/views/4b9db2a45dad0a82bec3a5f1c3f32761(606): Illuminate\View\View->render() #12 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #13 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #14 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #15 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #16 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #17 /var/www/html/Buytopia/app/controllers/MasterController.php(177): Illuminate\View\View->render() #18 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Controllers\MasterController->callAction('getSearch', Array) #19 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(Controllers\Www\DealsController), Object(MaartenStaa\Routing\Route), 'getSearch') #20 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(MaartenStaa\Routing\Route), Object(Illuminate\Http\Request), 'Controllers\\Www...', 'getSearch') #21 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}() #22 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #23 /var/www/html/Buytopia/vendor/maartenstaa/laravel-41-route-caching/src/Route.php(61): Illuminate\Routing\Route->run() #24 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): MaartenStaa\Routing\Route->run(Object(Illuminate\Http\Request)) #25 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #26 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #27 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #28 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #29 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #30 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #31 /var/www/html/Buytopia/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #32 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #33 /var/www/html/Buytopia/public/index.php(50): Illuminate\Foundation\Application->run() #34 {main} Next exception 'ErrorException' with message 'Invalid argument supplied for foreach() (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php)' in /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f:1094 Stack trace: #0 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #2 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #3 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #4 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #5 /var/www/html/Buytopia/app/storage/views/4b9db2a45dad0a82bec3a5f1c3f32761(606): Illuminate\View\View->render() #6 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(37): include('/var/www/html/B...') #7 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #8 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #9 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #10 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #11 /var/www/html/Buytopia/app/controllers/MasterController.php(177): Illuminate\View\View->render() #12 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Controllers\MasterController->callAction('getSearch', Array) #13 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(Controllers\Www\DealsController), Object(MaartenStaa\Routing\Route), 'getSearch') #14 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(MaartenStaa\Routing\Route), Object(Illuminate\Http\Request), 'Controllers\\Www...', 'getSearch') #15 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}() #16 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #17 /var/www/html/Buytopia/vendor/maartenstaa/laravel-41-route-caching/src/Route.php(61): Illuminate\Routing\Route->run() #18 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): MaartenStaa\Routing\Route->run(Object(Illuminate\Http\Request)) #19 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #20 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #21 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #22 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #23 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #24 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #25 /var/www/html/Buytopia/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #26 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #27 /var/www/html/Buytopia/public/index.php(50): Illuminate\Foundation\Application->run() #28 {main} Next exception 'ErrorException' with message 'Invalid argument supplied for foreach() (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php) (View: /var/www/html/Buytopia/app/views/www/deals/searchresult.blade.php)' in /var/www/html/Buytopia/app/storage/views/a4cc191feae00043f7798a20486f986f:1094 Stack trace: #0 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(41): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(57): Illuminate\View\Engines\PhpEngine->evaluatePath('/var/www/html/B...', Array) #2 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(140): Illuminate\View\Engines\CompilerEngine->get('/var/www/html/B...', Array) #3 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(109): Illuminate\View\View->getContents() #4 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/View/View.php(78): Illuminate\View\View->renderContents() #5 /var/www/html/Buytopia/app/controllers/MasterController.php(177): Illuminate\View\View->render() #6 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(93): Controllers\MasterController->callAction('getSearch', Array) #7 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(62): Illuminate\Routing\ControllerDispatcher->call(Object(Controllers\Www\DealsController), Object(MaartenStaa\Routing\Route), 'getSearch') #8 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(967): Illuminate\Routing\ControllerDispatcher->dispatch(Object(MaartenStaa\Routing\Route), Object(Illuminate\Http\Request), 'Controllers\\Www...', 'getSearch') #9 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}() #10 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Route.php(109): call_user_func_array(Object(Closure), Array) #11 /var/www/html/Buytopia/vendor/maartenstaa/laravel-41-route-caching/src/Route.php(61): Illuminate\Routing\Route->run() #12 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1033): MaartenStaa\Routing\Route->run(Object(Illuminate\Http\Request)) #13 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1001): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #14 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(781): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #15 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(745): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request)) #16 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Session/Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true) #17 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true) #18 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true) #19 /var/www/html/Buytopia/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true) #20 /var/www/html/Buytopia/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(641): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request)) #21 /var/www/html/Buytopia/public/index.php(50): Illuminate\Foundation\Application->run() #22 {main}

Whoops, looks like something went wrong.