monsieurbiz/SyliusHomepagePlugin

Fatal error during installation

welcoMattic opened this issue · 0 comments

Installing the plugin on a fresh Sylius 1.11.13 project results in:

!!  PHP Fatal error:  Type of MonsieurBiz\SyliusHomepagePlugin\Entity\HomepageTranslation::$locale must be ?string (as in class Sylius\Component\Resource\Model\AbstractTranslation) in /home/welcomattic/workspace/interfrap/vendor/monsieurbiz/sylius-homepage-plugin/src/Entity/HomepageTranslation.php on line 23
!!

I guess it's quite easy to fix, it's about respect the typing of the abstract parent class.

I guess you should drop PHP 7.4 support to fix this issue, and release a new version for PHP 8.0+ only.