I just migrated my site from Drupal 6 to Drupal 7 and it all seems to have been successful, except when I go to a node page, or the admin/content page, I'm getting a WSOD. I can find nodes through existing views, but when I click the link to the node, it's just the white screen. I checked the log messages and it looks like this is the error I'm getting:

> Notice: Undefined index: access in
> node_reference_field_formatter_prepare_view() (line 408 of
> /sites/all/modules/references/node_reference/node_reference.module).

Is anyone familiar with what might be causing this? The function on line 408 is this (the 4th line is 408)

>   foreach ($displays as $id => $display) {
>     if ($display['type'] != 'node_reference_nid') {
>       foreach ($items[$id] as $delta => $item) {
>         if ($item['access']) {
>           $items[$id][$delta]['node'] = $entities[$item['nid']];
>         }
>       }
>     }   }
CommentFileSizeAuthor
#3 undefined_index_access-2575343-3.patch1017 bytesrenatog
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

phandolin created an issue. See original summary.

phandolin’s picture

For the record, I have now installed the dev version and the related patch, but the issue is still happening.

renatog’s picture

Hi @phandolin, how are you?

Thank you very much for reporting.

This case was checked so that this error no longer occurs.

Good Work.

Regards.

  • RenatoG committed 9747344 on 7.x-2.x
    Issue #2575343 by RenatoG, phandolin: Undefined index: access in...
renatog’s picture

Status: Active » Fixed

Thank you very much for your contribution @phandolin.

Good Work.

Regards.

Status: Fixed » Closed (fixed)

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