Problem/Motivation

Warning: Attempt to read property "denominator" on null in webform_score_entity_field_access() (line 53 of drupal10.2.5/html/modules/contrib/webform_score/webform_score.module)

When I upgraded via composer I got the error.
No content showed on the site.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

SocialNicheGuru created an issue. See original summary.

socialnicheguru’s picture

i will try on a new site to see if it is replicable.

  • Nigel Cunningham committed 51bc35bf on 8.x-2.x
    Issue #3443779: Content from site missing. Attempt to read property "...
nigelcunningham’s picture

Please give that latest commit a try - it should fix the issue.

socialnicheguru’s picture

Status: Active » Needs work

that error is gone.
same symptoms though.
different error message

I actually think this is a conflict with other modules.
Is there anyway to restrict webform_score to webforms or webform_nodes instead of testing all content types?

nigelcunningham’s picture

Ah, I see, I was being too blinkered. I'll prepare another patch now and push that.

Apologies!

  • Nigel Cunningham committed 381bb2d9 on 8.x-2.x
    Issue #3443779: Content from site missing. Attempt to read property "...
nigelcunningham’s picture

The latest commit should fix the issue for you. Apologies for the inconvenience!

socialnicheguru’s picture

Seems to have worked

nigelcunningham’s picture

Status: Needs work » Fixed

Terrific; thanks!

Status: Fixed » Closed (fixed)

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