yireo / Yireo_EmailTester2

Open Software License 3.0
29 stars 8 forks source link

Fix access level for messageManager variable #11

Closed Phennim closed 1 year ago

Phennim commented 1 year ago

Fatal error: Access level to Yireo\EmailTester2\Controller\Adminhtml\Index\Send::$messageManager must be protected (as in class Magento\Framework\App\Action\Action) or weaker in vendor/yireo/magento2-emailtester2/Controller/Adminhtml/Index/Send.php on line 24

Maybe the variables can be removed entirely from Send and Index, but I don't know if that breaks BC with older Magento versions. I checked back to version 2.4.1; which has it as protected.