Whoops, looks like something went wrong.
2/2
QueryException in Connection.php line 666:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and w.id_kategoria != ? o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.new' at line 1 (SQL: SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC)
- in Connection.php line 666
- at Connection->runQueryCallback('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'), object(Closure)) in Connection.php line 622
- at Connection->run('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'), object(Closure)) in Connection.php line 324
- at Connection->select('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))
- at call_user_func_array(array(object(MySqlConnection), 'select'), array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in DatabaseManager.php line 296
- at DatabaseManager->__call('select', array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in Facade.php line 217
- at Facade::__callStatic('select', array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in ObjectRepository.php line 555
- at ObjectRepository->getLastXfromAllCategories('0') in ObjectService.php line 174
- at ObjectService->getLastXfromAllCategories('0') in StaticPageController.php line 308
- at StaticPageController->newestOffers(object(ObjectService), object(PhotoService))
- at call_user_func_array(array(object(StaticPageController), 'newestOffers'), array(object(ObjectService), object(PhotoService))) in Controller.php line 256
- at Controller->callAction('newestOffers', array(object(ObjectService), object(PhotoService))) in ControllerDispatcher.php line 164
- at ControllerDispatcher->call(object(StaticPageController), object(Route), 'newestOffers') in ControllerDispatcher.php line 112
- at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
- at ControllerDispatcher->callWithinStack(object(StaticPageController), object(Route), object(Request), 'newestOffers') in ControllerDispatcher.php line 68
- at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\StaticPageController', 'newestOffers') in Route.php line 203
- at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
- at Route->run(object(Request)) in Router.php line 708
- at Router->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Router.php line 710
- at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 674
- at Router->dispatchToRoute(object(Request)) in Router.php line 635
- at Router->dispatch(object(Request)) in Kernel.php line 236
- at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in BotCheck.php line 118
- at BotCheck->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(BotCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SetLang.php line 61
- at SetLang->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(SetLang), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
- at ShareErrorsFromSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
- at StartSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
- at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
- at EncryptCookies->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
- at CheckForMaintenanceMode->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Kernel.php line 122
- at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
- at Kernel->handle(object(Request)) in index.php line 113
1/2
PDOException in Connection.php line 319:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and w.id_kategoria != ? o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.new' at line 1
- in Connection.php line 319
- at PDO->prepare('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC') in Connection.php line 319
- at Connection->Illuminate\Database\{closure}(object(MySqlConnection), 'SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0')) in Connection.php line 659
- at Connection->runQueryCallback('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'), object(Closure)) in Connection.php line 622
- at Connection->run('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'), object(Closure)) in Connection.php line 324
- at Connection->select('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))
- at call_user_func_array(array(object(MySqlConnection), 'select'), array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in DatabaseManager.php line 296
- at DatabaseManager->__call('select', array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in Facade.php line 217
- at Facade::__callStatic('select', array('SELECT o.news,o.news_en,o.nazwa,o.nazwa_en,o.news_date,o.id,o.zajawka_en, o.freshweek_card_active,o.freshday_card_active, w.id_kategoria, o.telefon, o.tel_2, o.tel_3, o.hide_phone, o.ulica FROM wyswietlacz AS w, obiekt AS o where w.id_kategoria = :id_kategoria and and w.id_kategoria != :id_food o.aktywne = 1 and o.id = w.id_prezentacja ORDER BY o.news_date DESC', array('id_kategoria' => '1301040', 'id_food' => '0'))) in ObjectRepository.php line 555
- at ObjectRepository->getLastXfromAllCategories('0') in ObjectService.php line 174
- at ObjectService->getLastXfromAllCategories('0') in StaticPageController.php line 308
- at StaticPageController->newestOffers(object(ObjectService), object(PhotoService))
- at call_user_func_array(array(object(StaticPageController), 'newestOffers'), array(object(ObjectService), object(PhotoService))) in Controller.php line 256
- at Controller->callAction('newestOffers', array(object(ObjectService), object(PhotoService))) in ControllerDispatcher.php line 164
- at ControllerDispatcher->call(object(StaticPageController), object(Route), 'newestOffers') in ControllerDispatcher.php line 112
- at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 114
- at ControllerDispatcher->callWithinStack(object(StaticPageController), object(Route), object(Request), 'newestOffers') in ControllerDispatcher.php line 68
- at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\StaticPageController', 'newestOffers') in Route.php line 203
- at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
- at Route->run(object(Request)) in Router.php line 708
- at Router->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Router.php line 710
- at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 674
- at Router->dispatchToRoute(object(Request)) in Router.php line 635
- at Router->dispatch(object(Request)) in Kernel.php line 236
- at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in BotCheck.php line 118
- at BotCheck->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(BotCheck), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in SetLang.php line 61
- at SetLang->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(SetLang), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
- at ShareErrorsFromSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 62
- at StartSession->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
- at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 59
- at EncryptCookies->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
- at CheckForMaintenanceMode->handle(object(Request), object(Closure))
- at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
- at Pipeline->then(object(Closure)) in Kernel.php line 122
- at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
- at Kernel->handle(object(Request)) in index.php line 113