Undefined index: #formatter

Created on 16 May 2011, about 14 years ago
Updated 11 June 2025, 2 days ago

Steps:
1) I changed the display of a media field to something, I forget which at the moment (& doesn't matter). Saved changes, no errors.
2) I viewed a page that used the new format and got two errors:
Notice: Undefined index: #formatter in theme_styles_field_formatter() (line 11 of C:\wamp\www\crypeace\sites\all\modules\styles\themes\styles.theme.inc).
Notice: Undefined index: #formatter in theme_styles_field_formatter() (line 11 of C:\wamp\www\crypeace\sites\all\modules\styles\themes\styles.theme.inc).

3) I selected another display format for the field and saved the change. Now I see the same errors, but I think they apply to the old style, not the one I just selected.

This is pretty counter-intuitive, can we display the errors on the style that throws it, not the one we replace it with?

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada carole

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    Thank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.

Production build 0.71.5 2024