Exception detected!

NULL

500 Internal Server Error - InvalidArgumentException

Stack Trace

  1. in /app/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php at line 479  -
    1.     public function remove($entity)
    2.     {
    3.         if ( ! is_object($entity)) {
    4.             throw new \InvalidArgumentException(gettype($entity));
    5.         }
    6.         $this->errorIfClosed();
    7.         $this->unitOfWork->remove($entity);
  2. at EntityManager ->remove (null)
    in /app/src/Wuji/ShopBundle/Controller/CartController.php at line 178  +
  3. at CartController ->removeFromCartAction ('100819', 's')
  4. at call_user_func_array (array(object(CartController), 'removeFromCartAction'), array('100819', 's'))
    in kernel.root_dir/cache/prod/classes.php at line 3905  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/cache/prod/classes.php at line 3875  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/cache/prod/classes.php at line 4852  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 547  +
  8. at Kernel ->handle (object(Request))
    in /app/web/app.php at line 24  +

Logs  -