Closed Aerendir closed 4 years ago
I have same error...
@sercul , unfortunately I was not able to solve it :(
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
MacOS macOS 10.14.1
Sonata packages
Symfony packages
PHP version
Subject
I'm trying to configure a filter with a dropdown where I list some possible statuses for an entity.
The dropdown is built correctly, but when I click on "Filter" I receive the following error:
Steps to reproduce
Install the bundle:
vendor/serendipity_hq/commands-queues-bundle/src/Admin/Sonata/Entity/JobAdmin
JobAdmin::configureDatagridFilters()
(and comment the one line that creates the filter without dropdown)Expected results
All the jobs with the selected status are shown.
Actual results
The stacktrace is this:
[3/3] DriverException
[2/3] PDOException
[1/3] PDOException
I have no idea of how to fix this, nor if it is a fault of mine or really a bug: any ideas?
The code I'm using is this: