Hi,

At first i used link module for a short time, then i installed the advanced link module, i change the widget for link to anvanced link, after i saved it showed the waring in file advanced_link.module.
Notice: Undefined index: urls_allowed in advanced_link_field_widget_form() (line 128 ......)
Notice: Undefined index: urls_filter in advanced_link_field_widget_form() (line 129 ....)

Any help will be appreciate.

Comments

DrupalDriven’s picture

Assigned: Unassigned » DrupalDriven
Status: Active » Needs work

This is non-critical warning, it will not affect correct work of Advanced Link module.

It will be fixed in next development release

twistor’s picture

Status: Needs work » Needs review
StatusFileSize
new1.64 KB

Here's a patch.

jvieille’s picture

Priority: Normal » Critical

Seems to be a similar issue on D6 - so not opening a new issue : when installing Advanced links, setting an existing field or editing a node with a advanced link triggers this error:

Fatal error: Call to undefined function _link_default_attributes() in /home/shareontheweb/public_html/sites/all/modules/advanced_link/advanced_link.module on line 246

However, it is critical, breaking the form

jvieille’s picture

Priority: Critical » Normal

Tried to apply the patch on D6 with proper changes, same problem, so must be a different issue

Eugene Fidelin’s picture

Assigned: DrupalDriven » Eugene Fidelin
Issue tags: +code sprint drupal night ua 2012
maksimk’s picture

Assigned: Eugene Fidelin » maksimk
maksimk’s picture

Assigned: maksimk » Eugene Fidelin
Status: Needs review » Fixed
maksimk’s picture

Assigned: Eugene Fidelin » maksimk
DrupalDriven’s picture

Status: Fixed » Closed (fixed)
DrupalDriven’s picture

Status: Closed (fixed) » Fixed

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