Doctrine DBAL issue

1.2k views Asked by At

This used to work in DBAL 2 but throws the error Named parameter "receivedOn" does not have a bound value in DBAL 3. Trying to make sense of it - if anyone able to make any pointers?

https://i.stack.imgur.com/4Fyky.png

1

There are 1 answers

1
pawelp On

You should pass parameters names in $params like:

$params = [
    'name' => $event->getSomething()
];