in Controller/BackendController.php, line 56
The Exception class resolves to the following classes: Imagine\Exception\Exception or Symfony\Component\Config\Definition\Exception\Exception or Ivory\CKEditorBundle\Exception\Exception.
Did you forget to add a corresponding use statement for one of them?
$entity->$fieldname_set(true);
}
$em->flush();
$res = true;
} catch (Exception $e) {}
}
}
$response = new JsonResponse();
$response->setData($res);
Posted from SensioLabsInsight
in Controller/BackendController.php, line 56
Posted from SensioLabsInsight