You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to read property "status" on null at /var/www/wbl/vendor/heloufir/filament-workflow-manager/src/Core/WorkflowResource.php
I believe this occurs when you add the package to an existing table with models without a status. If the status doesn't exist, it should be created using the first status for the workflow rather than an error.
The text was updated successfully, but these errors were encountered:
Looking at the code sample you just shared elsewhere, you are actually running into the same problem - if the model isn't created with the workflow already attached, it's null and that blows up the code. I think there should be a sanity check to make the workflow default to whatever the first status is if there isn't a record for that model - instead it grabs nothing and gives the error on the null pluck.
Attempt to read property "status" on null at /var/www/wbl/vendor/heloufir/filament-workflow-manager/src/Core/WorkflowResource.php
I believe this occurs when you add the package to an existing table with models without a status. If the status doesn't exist, it should be created using the first status for the workflow rather than an error.
The text was updated successfully, but these errors were encountered: