After upgrading from 8.x-1.x to 8.x-2.x I get the following notice when I rebuild the templates.

Notice: Undefined index: allowfullscreen in Drupal\fotorama_gallery\Plugin\Field\FieldFormatter\FotoramaGalleryFormatter->viewElements() (line 578 of modules/contrib/fotorama_gallery/src/Plugin/Field/FieldFormatter/FotoramaGalleryFormatter.php).

Drupal\fotorama_gallery\Plugin\Field\FieldFormatter\FotoramaGalleryFormatter->viewElements(Object, 'en') (Line: 80)

I tried resetting the field setting but sadly that didn't produce any effect.

Comments

makbeta created an issue. See original summary.

makbeta’s picture

Issue summary: View changes
makbeta’s picture

Issue summary: View changes
meickol’s picture

You can fix it quickly re-saving the field settings, I tried and works, the log error won't appear anymore .

  • meickol committed 3ed14a2 on 8.x-2.x
    Issue #3057746 by meickol: Undefined index: allowfullscreen
    
meickol’s picture

Version: 8.x-2.x-dev » 8.x-2.0-rc1
Status: Active » Fixed

There is a new release with a fix for this issue https://www.drupal.org/project/fotorama_gallery/releases/8.x-2.0-rc2

makbeta’s picture

@meickol Thank you for the quick fix. Verified that the new code version solves the issue.

Status: Fixed » Closed (fixed)

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