Fatal error in ProjectionDetails::__construct()
enumag opened this issue · 3 comments
enumag commented
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
prolic commented
Thanks, will look into it, or would you mind submitting a pull request?
…On Thu, Sep 12, 2019, 09:23 Jáchym Toušek ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#44?email_source=notifications&email_token=AADAJPFVK7ZM6PPEFGUM4XDQJI7EZA5CNFSM4IWD3KYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HK7SW3Q>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADAJPE2WRPGKXLBFE6WR5DQJI7EZANCNFSM4IWD3KYA>
.
enumag commented
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.
prolic commented
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.