Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Advanced Workflow module #39

Open
lhalaa opened this issue Oct 22, 2020 · 0 comments
Open

Error with Advanced Workflow module #39

lhalaa opened this issue Oct 22, 2020 · 0 comments

Comments

@lhalaa
Copy link

lhalaa commented Oct 22, 2020

Uncaught Exception Error: "Call to a member function hasExtension() on null" at /var/www/mysite/www/vendor/silverstripe/versioned-snapshots/src/Handler/Elemental/PageSaveHandler.php line 35 {"exception":"[object] (Error(code: 0): Call to a member function hasExtension() on null at /var/www/mysite/www/vendor/silverstripe/versioned-snapshots/src/Handler/Elemental/PageSaveHandler.php:35)"} []

The error is thrown when saving a new workflow action from the Workflow admin section.

For reference, we are using:
silverstripe/recipe-cms: 4.6.1
silverstripe/versioned-snapshot-admin: dev-master#ad702dc
silverstripe/versioned-snapshots: dev-master#9bb7d6a

Looks like $form->getRecord() returns null from Handler::getRecordFromContext()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant