Project:Links Package
Version:6.x-1.2
Component:Code: links_related.module
Category:bug report
Priority:normal
Assigned:syscrusher
Status:reviewed & tested by the community

Issue Summary

# 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

#1

Popped up at drupal6/update.php

#2

Assigned to:Anonymous» 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

#3

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 :-).

#4

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

#5

Version:6.x-1.1» 6.x-1.2

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

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

AttachmentSize
links-e-all-in-form-alter-370986.patch 943 bytes

#6

Status:active» needs review

#7

Status:needs review» reviewed & tested by the community

works for me.

see #370988: E_ALL issues for a similar problem.

nobody click here