Hi,

Said the patch was commited but still having this issue.

Notice : Undefined index: #entity_type dans Drupal\colorbox\Plugin\Field\FieldFormatter\ColorboxFormatter->settingsForm()

Using Colorbox 8.x-1.4 on Drupal 8.6.4.

Regards.

CommentFileSizeAuthor
#2 colorbox-3018544-2.patch892 bytesjigish.addweb

Comments

bobhacker created an issue. See original summary.

jigish.addweb’s picture

Status: Active » Needs review
StatusFileSize
new892 bytes

@bobhacker, Please find the patch to resolve the mentioned error that occurs while installing the module. Thanks!.

renatog’s picture

Status: Needs review » Reviewed & tested by the community

Really works good.

Thank you very for your contribution.

Good Work and Good Week.

  • RenatoG committed 1f104ba on 8.x-1.x authored by jigish.addweb
    Issue #3018544 by jigish.addweb, bobhacker, RenatoG: Notice : Undefined...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Committed to the dev branch.

Thank you very much

Best,

Status: Fixed » Closed (fixed)

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

erwangel’s picture

The error still occurs when formatting media entities with colorbox. In my case media field in views.

Warning: Undefined array key "#entity_type" in Drupal\colorbox\Plugin\Field\FieldFormatter\ColorboxEntityReferenceFormatter->settingsForm() (line 213 of /path_to_site/modules/contrib/colorbox/src/Plugin/Field/FieldFormatter/ColorboxEntityReferenceFormatter.php).

fallenturtle’s picture

I'm having the same issue Erwangel is... using Drupal 11 and Colorbox 2.1.4