Variable linkchecker_exclude is empty

Created on 2 February 2023, over 1 year ago
Updated 5 February 2023, over 1 year ago

Problem/Motivation

Notice: Trying to access array offset on value of type null in linkchecker_form_field_ui_field_edit_form_alter() (line 1130 of /.../linkchecker.module).

Steps to reproduce

Enable the linkchecker module on an existing site which already have link fields.
Go to the Field UI form.

Proposed resolution

Check that if the variable is not NULL, and the array key is exists.

$linkchecker_excludes = variable_get('linkchecker_exclude');
πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary Sweetchuck Budapest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024