prooph/event-store-http-client

Fatal error in ProjectionDetails::__construct()

enumag opened this issue · 3 comments

TypeError:
Argument 9 passed to Prooph\EventStore\Projections\ProjectionDetails::__construct()
must be of the type string, null given, called in
/usr/app/vendor/prooph/event-store-http-client/src/Projections/ProjectionsManager.php
on line 522

I'm not exactly sure what's the proper fix here. Also I don't know how it happened and can't reproduce it. I just found it in the logs.

Most likely it should be $entry['stateReason'] ?? '' @ line 506 - that's just a guess, but I can imagine the stateReason is empty when status is OK-ish.