Whoops, looks like something went wrong.

2/2 QueryException in Connection.php line 729: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'exportdevauth2.categories' doesn't exist (SQL: select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = 1 and `products`.`approved` = 2 and `categories`.`parent_category_id` in (8558, 8559, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569) or `products`.`category_id` in (8558, 8559, 8560, 8561, 8562, 8563, 8564, 8565, 8566, 8567, 8568, 8569) order by `products`.`id` desc)

  1. in Connection.php line 729
  2. at Connection->runQueryCallback('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), object(Closure)) in Connection.php line 685
  3. at Connection->run('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), object(Closure)) in Connection.php line 349
  4. at Connection->select('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), true) in Builder.php line 1610
  5. at Builder->runSelect() in Builder.php line 1596
  6. at Builder->get(array('*')) in Builder.php line 625
  7. at Builder->getModels(array('*')) in Builder.php line 316
  8. at Builder->get() in CategoryController.php line 52
  9. at CategoryController->getShow('11', 'energy')
  10. at call_user_func_array(array(object(CategoryController), 'getShow'), array('category_id' => '11', 'slug' => 'energy')) in Controller.php line 80
  11. at Controller->callAction('getShow', array('category_id' => '11', 'slug' => 'energy')) in ControllerDispatcher.php line 146
  12. at ControllerDispatcher->call(object(CategoryController), object(Route), 'getShow') in ControllerDispatcher.php line 94
  13. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  14. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  15. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  17. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  18. at ControllerDispatcher->callWithinStack(object(CategoryController), object(Route), object(Request), 'getShow') in ControllerDispatcher.php line 54
  19. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Front\CategoryController', 'getShow') in Route.php line 174
  20. at Route->runController(object(Request)) in Route.php line 140
  21. at Route->run(object(Request)) in Router.php line 724
  22. at Router->Illuminate\Routing\{closure}(object(Request))
  23. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  25. at VerifyCsrfToken->handle(object(Request), object(Closure))
  26. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  27. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  28. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  29. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  30. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  31. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  34. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  35. at StartSession->handle(object(Request), object(Closure))
  36. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  37. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  38. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  39. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  40. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  41. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  42. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  43. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  44. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  45. at EncryptCookies->handle(object(Request), object(Closure))
  46. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  47. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  48. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  49. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  50. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  51. at Pipeline->then(object(Closure)) in Router.php line 726
  52. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  53. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  54. at Router->dispatch(object(Request)) in Kernel.php line 246
  55. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  56. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  57. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  58. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  59. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  60. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  61. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  62. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  63. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  64. at Pipeline->then(object(Closure)) in Kernel.php line 132
  65. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  66. at Kernel->handle(object(Request)) in index.php line 53

1/2 PDOException in Connection.php line 333: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'exportdevauth2.categories' doesn't exist

  1. in Connection.php line 333
  2. at PDO->prepare('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc') in Connection.php line 333
  3. at Connection->Illuminate\Database\{closure}(object(MySqlConnection), 'select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569')) in Connection.php line 722
  4. at Connection->runQueryCallback('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), object(Closure)) in Connection.php line 685
  5. at Connection->run('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), object(Closure)) in Connection.php line 349
  6. at Connection->select('select `products`.* from `company_products` inner join `categories` on `products`.`category_id` = `categories`.`id` where `products`.`active` = ? and `products`.`approved` = ? and `categories`.`parent_category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) or `products`.`category_id` in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) order by `products`.`id` desc', array('1', '2', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569', '8558', '8559', '8560', '8561', '8562', '8563', '8564', '8565', '8566', '8567', '8568', '8569'), true) in Builder.php line 1610
  7. at Builder->runSelect() in Builder.php line 1596
  8. at Builder->get(array('*')) in Builder.php line 625
  9. at Builder->getModels(array('*')) in Builder.php line 316
  10. at Builder->get() in CategoryController.php line 52
  11. at CategoryController->getShow('11', 'energy')
  12. at call_user_func_array(array(object(CategoryController), 'getShow'), array('category_id' => '11', 'slug' => 'energy')) in Controller.php line 80
  13. at Controller->callAction('getShow', array('category_id' => '11', 'slug' => 'energy')) in ControllerDispatcher.php line 146
  14. at ControllerDispatcher->call(object(CategoryController), object(Route), 'getShow') in ControllerDispatcher.php line 94
  15. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  17. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  19. at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 96
  20. at ControllerDispatcher->callWithinStack(object(CategoryController), object(Route), object(Request), 'getShow') in ControllerDispatcher.php line 54
  21. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Front\CategoryController', 'getShow') in Route.php line 174
  22. at Route->runController(object(Request)) in Route.php line 140
  23. at Route->run(object(Request)) in Router.php line 724
  24. at Router->Illuminate\Routing\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  26. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 64
  27. at VerifyCsrfToken->handle(object(Request), object(Closure))
  28. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  30. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  31. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  32. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  33. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  34. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  35. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  36. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  37. at StartSession->handle(object(Request), object(Closure))
  38. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  39. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  40. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  41. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  42. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  43. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  46. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  47. at EncryptCookies->handle(object(Request), object(Closure))
  48. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  49. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  50. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  51. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  52. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  53. at Pipeline->then(object(Closure)) in Router.php line 726
  54. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
  55. at Router->dispatchToRoute(object(Request)) in Router.php line 675
  56. at Router->dispatch(object(Request)) in Kernel.php line 246
  57. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  58. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
  59. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
  60. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  61. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 136
  62. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  63. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
  64. at Pipeline->Illuminate\Routing\{closure}(object(Request))
  65. at call_user_func(object(Closure), object(Request)) in Pipeline.php line 102
  66. at Pipeline->then(object(Closure)) in Kernel.php line 132
  67. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
  68. at Kernel->handle(object(Request)) in index.php line 53