Hi,

Capture description:

Notice: Undefined index: #attributes in varbase_editor_preprocess_file_entity() (line 39 of profiles/varbase/modules/features/varbase_editor/varbase_editor.module).
Warning: array_merge(): Argument #2 is not an array in varbase_editor_preprocess_file_entity() (line 39 of profiles/varbase/modules/features/varbase_editor/varbase_editor.module).

Environment:

Development

Steps to reproduce:

  • Given I have an image file field in a [content type]
  • And I go to "/admin/structure/types/manage/[content type]/display/full"
  • And I set the image element format to "Rendered file"
  • When I view the landing page for the content type
  • Then I should not see any "Notices" or "Warnings"

Expected results:

Not to show any Notice or warnings

Thank you.

Comments

RajabNatshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

I have the patch file for it with the attached files

rajab natshah’s picture

Status: Active » Needs review

  • RajabNatshah committed 2bf8d98 on 7.x-3.x
    Issue #2722299 by RajabNatshah: Fixed the Notice: Undefined index: #...
rajab natshah’s picture

Assigned: Unassigned » rajab natshah
Status: Needs review » Fixed
rajab natshah’s picture

Status: Fixed » Closed (fixed)