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