Displaying a custom ds field in a view mode and then save settings, get with the following error

Fatal error: Invalid placeholder (!message) in string: %type: !message in %function (line %line of %file). in /[path to drupal]/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 241
Array
(
    [%type] => Notice
    [!message] => Undefined index: settings
    [%function] => _ds_field_ui_fields()
    [%file] => /[path to drupal]/modules/contrib/ds/includes/field_ui.inc
    [%line] => 1067
)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hmdnawaz created an issue. See original summary.

hmdnawaz’s picture

Status: Active » Needs review
FileSize
679 bytes

Status: Needs review » Needs work

The last submitted patch, 2: undefined_index_settings_ds_field_ui_fields-2640146.patch, failed testing.

hmdnawaz’s picture

Status: Needs work » Needs review

  • aspilicious committed 8e2c13e on 8.x-2.x authored by hmdnawaz
    Issue #2640146 by hmdnawaz: invalid place holder invalid place holder...
aspilicious’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

I would like to have a tests for this.
Could you provide a minimal custom DS plugin that causes these?

aspilicious’s picture

Status: Needs work » Closed (duplicate)

Apparently this is already fixed in latest dev version.
Going to tag a new release.