HTTP 500 Internal Server Error
Attempted to call an undefined method named "getSQLResultCasing" of class "Doctrine\DBAL\Platforms\MariaDb1027Platform".
// My Controller
public function index(
Request $request,
OrderRepository $orderRepository,
OrderGrid $orderGrid
) {
$grid = $orderGrid->getSales($orderRepository->findAllQuery(), $this->getUser());
$template = $request->isXmlHttpRequest() ?
'backend/grid.html.twig' :
'backend_dashboard/index.html.twig';
return $grid->getGridResponse($template);
}
// OrderGrid service
/**
* @var \APY\DataGridBundle\Grid\Grid
*/
private $grid;
/**
* Construct method.
*/
public function __construct(Grid $grid)
{
$this->grid = $grid;
}
public function getSales(QueryBuilder $queryBuilder, User $user)
{
$grid = $this->grid;
$source = new Entity('App:Order');
$source->manipulateQuery($queryBuilder);
$grid->setSource($source);
/**
* Rest of configuration ...
*/
return $grid;
}
Apparently the method was removed from the ORM
Another information: