I get following error after upgrading to Drupal 9.2.0:

TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in method_exists() (regel 243 van /var/www/vhosts/daproverb.be/httpdocs/modules/webform/src/WebformEntityReferenceManager.php)

This error appears in reports recent log messages each time I want to edit the text of a node. When i try to edit I get the error message:
"The website encountered an unexpected error. Please try again later." The error is specified in recent log messages as I described above. So I cannot edit nodes anymore.

Please check and fix.

CommentFileSizeAuthor
#4 3219721-2.patch893 bytesjrockowitz

Comments

redseujac created an issue. See original summary.

redseujac’s picture

Issue summary: View changes
redseujac’s picture

Issue summary: View changes
jrockowitz’s picture

Version: 6.0.3 » 8.x-5.x-dev
Status: Active » Needs review
StatusFileSize
new893 bytes
redseujac’s picture

@jrockowitz

Thank you very much. Patch#4 fixes the problem.

  • jrockowitz authored 993568c on 8.x-5.x
    Issue #3219721 by jrockowitz: After upgrade to Drupal 9.2.0 TypeError:...
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored 993568c on 6.x
    Issue #3219721 by jrockowitz: After upgrade to Drupal 9.2.0 TypeError:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.