php - Symfony Sonata 3x upgrade error -
i updated symfony sonata 2.x 3.x , getting context error:
critical - uncaught php exception twig_error_runtime: "an exception has been thrown during rendering of template ("an exception occurred while executing 'select t0.name name_1, t0.enabled enabled_2, t0.created_at created_at_3, t0.updated_at updated_at_4, t0.id id_5 context t0 t0.id = ?' params ["default"]: sqlstate[22p02]: invalid text representation: 7 error: invalid input syntax integer: "default"")."
in file vendor/sonata-project/admin-bundle/resources/views/helper/short-object-description.html.twig
function {{ admin.generateobjecturl('edit', object, link_parameters) }}
any ideas why setting "default"
t0.id
?
Comments
Post a Comment