# notice: Undefined index: #node in drupal6\sites\all\modules\links\links_related.module on line 210.
# notice: Trying to get property of non-object in drupal6\sites\all\modules\links\links_related.module on line 235.

Comments

hass’s picture

Popped up at drupal6/update.php

syscrusher’s picture

Assigned: Unassigned » syscrusher

What was the circumstance of running update.php? Were you upgrading from Drupal 5 to Drupal 6, or were you updating from one release to another within Drupal 6.x?

Kind regards,

Scott

hass’s picture

I've tested the upgrade hooks of the linkchecker module :-). You should run update.php after every module upgrade... not only if you upgrade from D5 to D6 :-).

kenorb’s picture

I've got the same issue with #node on page where there is no any node (Views related).

Robrecht Jacques’s picture

Version: 6.x-1.1 » 6.x-1.2
StatusFileSize
new943 bytes

The notice shows up on every page with a form, not just during update.php.

Patch attached (diff to 6.x-1.2).

Robrecht Jacques’s picture

Status: Active » Needs review
mvc’s picture

Status: Needs review » Reviewed & tested by the community

works for me.

see #370988: E_ALL issues for a similar problem.

kenorb’s picture

Priority: Normal » Minor
Issue summary: View changes
kenorb’s picture

Assigned: syscrusher » Unassigned