$query = $app['qb']->insert('users')
->values(
array(
'user' => '?',
'value' => '?'
)
)
->setParameter(0, $name)
->setParameter(1, $value)
;
$query->execute();
POST localhost/users/add 500 (Internal Server Error)