Tested with latest dev and 1.7 of Forward, 2.6 version of Display Suite.
When working a view mode without DS taking over it all goes well, but once you enable the DS layout for the view mode, it starts producing this warning (the node type of course is different each time). It fires regardless of the Forward settings, whether it's configured for this node type or not, just all the time.

Notice: Undefined index: entity in Drupal\ds\Plugin\DsField\DsFieldBase->entity() (line 112 of modules/contrib/ds/src/Plugin/DsField/DsFieldBase.php).
Drupal\ds\Plugin\DsField\DsFieldBase->entity() (Line: 89)
Drupal\forward\Plugin\DsField\ForwardForm->isAllowed() (Line: 1089)
_ds_field_ui_fields('node', 'video', 'full', Array, Object) (Line: 46)
ds_field_ui_fields_layouts(Array, Object) (Line: 116)
ds_form_entity_view_display_edit_form_alter(Array, Object, 'entity_view_display_edit_form') (Line: 501)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'entity_view_display_edit_form') (Line: 816)
Drupal\Core\Form\FormBuilder->prepareForm('entity_view_display_edit_form', Array, Object) (Line: 272)
Drupal\Core\Form\FormBuilder->buildForm('entity_view_display_edit_form', Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)

No time to fix and investigate in more detail now, so just leaving here to check later.

Comments

meramo created an issue. See original summary.

  • john.oltman committed 07bc32c on 8.x-1.x
    Issue #2821966: Undefined index:entity log messages.
    
john.oltman’s picture

Status: Active » Fixed

Committed fix to dev branch.

john.oltman’s picture

@meramo can you try the 8.x-1.x-dev release and let me know if that works. Thank you.

  • john.oltman committed 07bc32c on 8.x-2.x
    Issue #2821966: Undefined index:entity log messages.
    

Status: Fixed » Closed (fixed)

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