Beenzie
Beenzie

Reputation: 31

Doctrine DBAL issue

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.sstatic.net/4Fyky.png

Upvotes: 0

Views: 1916

Answers (1)

pawelp
pawelp

Reputation: 111

You should pass parameters names in $params like:

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

Upvotes: 1

Related Questions