PL\OrderBundle\Entity\OrderHasComment
's constructor asks for a mandatory argument but don't you provide it when you create a new instance of the object.
You're creating a new OrderHasComment (whatever that is) like this:
$object = new OrderHasComment() // <- missing argument
Remove that - it won't be needed anymore once your listener calls something like setContext(...)
and it's not needed to create the object ... so it shouldn't be mandatory anyways.
// remove the mandatory argument or provide a default (i.e. $context = null)
public function __construct(ContextInterface $context) /
{
// ...
... should become:
public function __construct()
{
This solves the issue that's responsible for the exception.