Download & Extend

Notice: Undefined index: url in _link_process() (line 345 of ../link.module).

Project:Link
Version:7.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

USES
Drupal 7.12+41-dev
Link 7.x-1.0+10-dev

FIELD CONFIG
Link field settings = standard except Validate URL = NO

IN MY OWN FORM
$node->field_cmelink[$node->language][0]['field_cmelink_url'] = 'http://dmaster.cord.no';
$node->field_cmelink[$node->language][0]['field_cmelink_title'] = 'Info';

RESULT
Notice: Undefined index: url in _link_process() (line 345 of ../link.module).

Anyone who can tell me how to solve this?

AttachmentSize
linksupport.txt2.27 KB

Comments

#1

same here, did you solved the problem?

#2

that worked for me...

<?php
$node
->field_xml_url['und'][0]['url']               = $xml_remote_url;
$node->field_xml_url['und'][0]['title']             = 'Link';
?>

#3

Same problem here: in the field configuration I have set Optional URL to YES but still, if I don;t enter a URL the module complains that is missing.

nobody click here