Problem/Motivation

When AblePlayer is installed, if the local video media type is added after the fact, it can cause a white screen error due to missing fields. Example error:

Message Error: Call to a member function view() on null in Drupal\ableplayer\Plugin\Field\FieldFormatter\AbleplayerVideoFormatter->getSourceFiles() (line 79 of /var/aegir/platforms/prod-wwu_drupal-9.x-10.0.1/web/modules/contrib/ableplayer/src/Plugin/Field/FieldFormatter/AbleplayerVideoFormatter.php).

Proposed resolution

Add a conditional check for the sign language field to allow field formatter to skip if not present.

Comments

CarlyGerard created an issue. See original summary.

  • a3f36602 committed on packern/3417280-local-video-formatter
    Issue #3417280: Local video formatter doesn't check for missing fields.
    
socialnicheguru’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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