How to fix «TheList\Contactusemail\Controller\Index\Contactusemail» / «Extra parameters passed to parent construct»?

compilation
bug-fix

(Dmitry Fedyuk) #1

01


(Dmitry Fedyuk) #2

How to fix

File: app/code/TheList/Contactusemail/Controller/Index/Contactusemail.php

Replace:

parent::__construct($context,$transportBuilder,$inlineTranslation);

with:

parent::__construct($context);

02