Whoops, looks like something went wrong.
2/2
QueryException in Connection.php line 624:
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 'GROUP BY n.id ORDER BY n.orderby asc' at line 1 (SQL: select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc )
- in Connection.php line 624
- at Connection->runQueryCallback('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ', array(), object(Closure)) in Connection.php line 580
- at Connection->run('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ', array(), object(Closure)) in Connection.php line 297
- at Connection->select('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ') in Model.php line 66
- at Model->get('n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large', ' and nl.lang="vn" and n.id=', ' n.orderby asc', '', ' join cate_lang nl on n.id = nl.cate_id ') in ProductDetailController.php line 322
- at ProductDetailController->index('cay', '11608')
- at call_user_func_array(array(object(ProductDetailController), 'index'), array('name' => 'cay', 'id' => '6-cuon-bang-keo-duc-dan-thung-ban-rong-48cm-x-100yard-1kgcay-loi-5mm-11608')) in compiled.php line 8287
- at Controller->callAction('index', array('name' => 'cay', 'id' => '6-cuon-bang-keo-duc-dan-thung-ban-rong-48cm-x-100yard-1kgcay-loi-5mm-11608')) in compiled.php line 8354
- at ControllerDispatcher->call(object(ProductDetailController), object(Route), 'index') in compiled.php line 8333
- at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 8334
- at ControllerDispatcher->callWithinStack(object(ProductDetailController), object(Route), object(Request), 'index') in compiled.php line 8320
- at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\ProductDetailController', 'index') in compiled.php line 7317
- at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7288
- at Route->run(object(Request)) in compiled.php line 6954
- at Router->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 6955
- at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 6944
- at Router->dispatchToRoute(object(Request)) in compiled.php line 6929
- at Router->dispatch(object(Request)) in compiled.php line 1935
- at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12083
- at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 10785
- at StartSession->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11789
- at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11738
- at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2478
- at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 1891
- at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1880
- at Kernel->handle(object(Request)) in index.php line 136
1/2
PDOException in Connection.php line 292:
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 'GROUP BY n.id ORDER BY n.orderby asc' at line 1
- in Connection.php line 292
- at PDO->prepare('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ') in Connection.php line 292
- at Connection->Illuminate\Database\{closure}(object(MySqlConnection), 'select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ', array()) in Connection.php line 616
- at Connection->runQueryCallback('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ', array(), object(Closure)) in Connection.php line 580
- at Connection->run('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ', array(), object(Closure)) in Connection.php line 297
- at Connection->select('select n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large from `categories` n join cate_lang nl on n.id = nl.cate_id where 1 and nl.lang="vn" and n.id= GROUP BY n.id ORDER BY n.orderby asc ') in Model.php line 66
- at Model->get('n.id,nl.cate_name,nl.cate_slug,n.parent,n.parents,n.cate_thumb,n.cate_thumb_large', ' and nl.lang="vn" and n.id=', ' n.orderby asc', '', ' join cate_lang nl on n.id = nl.cate_id ') in ProductDetailController.php line 322
- at ProductDetailController->index('cay', '11608')
- at call_user_func_array(array(object(ProductDetailController), 'index'), array('name' => 'cay', 'id' => '6-cuon-bang-keo-duc-dan-thung-ban-rong-48cm-x-100yard-1kgcay-loi-5mm-11608')) in compiled.php line 8287
- at Controller->callAction('index', array('name' => 'cay', 'id' => '6-cuon-bang-keo-duc-dan-thung-ban-rong-48cm-x-100yard-1kgcay-loi-5mm-11608')) in compiled.php line 8354
- at ControllerDispatcher->call(object(ProductDetailController), object(Route), 'index') in compiled.php line 8333
- at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 8334
- at ControllerDispatcher->callWithinStack(object(ProductDetailController), object(Route), object(Request), 'index') in compiled.php line 8320
- at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\ProductDetailController', 'index') in compiled.php line 7317
- at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7288
- at Route->run(object(Request)) in compiled.php line 6954
- at Router->Illuminate\Routing\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 6955
- at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 6944
- at Router->dispatchToRoute(object(Request)) in compiled.php line 6929
- at Router->dispatch(object(Request)) in compiled.php line 1935
- at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8952
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12083
- at ShareErrorsFromSession->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 10785
- at StartSession->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11789
- at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11738
- at EncryptCookies->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2478
- at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in compiled.php line 8944
- at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
- at call_user_func(object(Closure), object(Request)) in compiled.php line 8935
- at Pipeline->then(object(Closure)) in compiled.php line 1891
- at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 1880
- at Kernel->handle(object(Request)) in index.php line 136