Problem/Motivation
TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in method_exists() (line 85 of /app/web/modules/contrib/scanner/src/Plugin/Scanner/Entity.php).
Steps to reproduce
Parent entity removed, orphaned entity
Proposed resolution
Check if parent entity exists before attempting to get its parent
Remaining tasks
MR
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Issue fork scanner-3610375
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 #2
scott_euser commentedComment #6
smustgrave commentedChange is small enough think we can skip test coverage.
Thanks!