Variable linkchecker_exclude is empty

Created on 2 February 2023, almost 2 years ago
Updated 29 August 2024, 4 months 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.71.5 2024