When using E_ALL for a core -dev checkout, I'm getting undefined #access notices on line 321. Patch adds an isset().

CommentFileSizeAuthor
fieldgroup.module-edit_notice.patch802 bytesdeekayen

Comments

yched’s picture

Hm, AFAICT, #access should always be set, so maybe it's the sign of something else not going right.
Can you post an export of your content type (using content_copy.module), and post it here as a .txt attachement ?

markus_petrux’s picture

Status: Needs review » Closed (fixed)

This kind of issues where fixed already. We're actually doing:

          if (!isset($form[$field_name]['#access']) || $form[$field_name]['#access'] !== FALSE) {
            $has_accessible_field = TRUE;
          }