Exception detected!

Fatal error: Call to a member function getProducts() on null

500 Internal Server Error - FatalThrowableError

Stack Trace

  1. in src/PointWeb/ProductBundle/Controller/DefaultController.php at line 582  -
    1.         $addOnWebsite $product->getAddOnWebsite();
    2.         $addInPrivateSell $product->getAddInPrivateSell();
    3.         $ids = array();
    4.         $otherProductList $cat->getProducts();
    5.         foreach ($otherProductList as $otherProduct) {
    6.             $ids[] = $otherProduct->getId();
    7.         }
  2. at DefaultController ->showAction (object(Request), '15', 'Gu%C3%AAtres%20-%20chasse')
  3. at call_user_func_array (array(object(DefaultController), 'showAction'), array(object(Request), '15', 'Gu%C3%AAtres%20-%20chasse'))
    in app/bootstrap.php.cache at line 3054  +
  4. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  5. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  6. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  7. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +