Whoops, looks like something went wrong.

1/1 ErrorException in FrontController.php line 1751: Undefined variable: date_now

  1. in FrontController.php line 1751
  2. at HandleExceptions->handleError('8', 'Undefined variable: date_now', '/var/www/palimex/app/Http/Controllers/FrontController.php', '1751', array('data' => array('count_pickup' => '0', 'taxable' => '0', 'tier_on' => '0', 'user_info' => null, 'page' => 'Catalog', 'datenow' => object(Carbon), '_category' => array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)), 'child_id' => array('146', '454', '164', '648', '646', '647', '230', '148', '150', '170', '271', '303', '274', '356', '280', '282', '180', '600', '529', '676', '678', '361', '269', '592', '193', '372', '818', '194', '270', '199', '771', '221', '251', '286', '287', '285'), 'parent_id' => '285', 'more_downline' => '0', 'initial' => true, 'loop' => '36', '_tree' => null, 'sub_category_tree' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null))), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null))), array('info' => object(stdClass), 'sub' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null))), array('info' => object(stdClass), 'sub' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null))), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => array(array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null), array('info' => object(stdClass), 'sub' => null)))), '_product' => object(LengthAwarePaginator)), 'show_pickup' => '0', 'taxable' => '0', 'append' => array('category' => '0'), 'query_category_id' => '146', '_category_query' => object(Builder), '_product_query' => object(Builder), 'sub_cat' => array('146', '454', '164', '648', '646', '647', '230', '148', '150', '170', '271', '303', '274', '356', '280', '282', '180', '600', '529', '676', '678', '361', '269', '592', '193', '372', '818', '194', '270', '199', '771', '221', '251', '286', '287', '285'), 'category_id' => '285', 'datenow' => object(Carbon), '_product' => object(LengthAwarePaginator))) in FrontController.php line 1751
  3. at FrontController->catalog()
  4. at call_user_func_array(array(object(FrontController), 'catalog'), array()) in compiled.php line 8931
  5. at Controller->callAction('catalog', array()) in compiled.php line 9000
  6. at ControllerDispatcher->call(object(FrontController), object(Route), 'catalog') in compiled.php line 8980
  7. at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in compiled.php line 9651
  9. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  10. at call_user_func(object(Closure), object(Request)) in compiled.php line 9633
  11. at Pipeline->then(object(Closure)) in compiled.php line 8981
  12. at ControllerDispatcher->callWithinStack(object(FrontController), object(Route), object(Request), 'catalog') in compiled.php line 8966
  13. at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\FrontController', 'catalog') in compiled.php line 7911
  14. at Route->runWithCustomDispatcher(object(Request)) in compiled.php line 7882
  15. at Route->run(object(Request)) in compiled.php line 7535
  16. at Router->Illuminate\Routing\{closure}(object(Request))
  17. at call_user_func(object(Closure), object(Request)) in compiled.php line 9651
  18. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in compiled.php line 9633
  20. at Pipeline->then(object(Closure)) in compiled.php line 7536
  21. at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 7524
  22. at Router->dispatchToRoute(object(Request)) in compiled.php line 7509
  23. at Router->dispatch(object(Request)) in compiled.php line 2310
  24. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
  25. at call_user_func(object(Closure), object(Request)) in compiled.php line 9651
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2925
  27. at VerifyCsrfToken->handle(object(Request), object(Closure))
  28. at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 13002
  30. at ShareErrorsFromSession->handle(object(Request), object(Closure))
  31. at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 11594
  33. at StartSession->handle(object(Request), object(Closure))
  34. at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  35. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12739
  36. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
  37. at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  38. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 12676
  39. at EncryptCookies->handle(object(Request), object(Closure))
  40. at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in compiled.php line 2982
  42. at CheckForMaintenanceMode->handle(object(Request), object(Closure))
  43. at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9643
  44. at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
  45. at call_user_func(object(Closure), object(Request)) in compiled.php line 9633
  46. at Pipeline->then(object(Closure)) in compiled.php line 2257
  47. at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2240
  48. at Kernel->handle(object(Request)) in index.php line 54