Problem/Motivation
when saving a node I am getting this error
Uncaught PHP Exception TypeError: "method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given" at /var/www/html/wwwroot/staging.dhsd8_gov_build/docroot/modules/contrib/file_crusader/file_crusader.module line 62
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork file_crusader-3463570
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jrglasgow commentedI have made a commit to the issue fork that splits out the login to determine if file_crusader can work on the entity into the $entity and $entity->original, first checking to see if $entity->original exists and is an object with the isPublished() method.
Comment #4
lukey commented