dddshelf / last-wishes

Last Wishes is a PHP application written following Domain-Driven Design approach. It's one of the sample applications where you can check the concepts explained in the "Domain-Driven Design in PHP" book.
https://leanpub.com/ddd-in-php
660 stars 120 forks source link

Error When Trying to signup #20

Open ahmedofali opened 7 years ago

ahmedofali commented 7 years ago

ContextErrorException in StoredEvent.php line 34: Catchable Fatal Error: Argument 2 passed to Ddd\Domain\Event\StoredEvent::__construct() must be an instance of DateTime, instance of DateTimeImmutable given, called in /var/www/html/last-wishes/vendor/carlosbuenosvinos/ddd/src/Infrastructure/Application/Notification/DoctrineEventStore.php on line 20 and defined

Sarke commented 7 years ago

Try using this fork, it has these fixes: https://github.com/dgafka/last-wishes