Closed (fixed)
Project:
Able Player
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2024 at 18:24 UTC
Updated:
17 Feb 2024 at 09:39 UTC
Jump to comment: Most recent
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).
Add a conditional check for the sign language field to allow field formatter to skip if not present.
Comments
Comment #3
socialnicheguru commented