PHP 7.4 Notice: Trying to access array offset on value of type bool in _metatags_quick_path_based_page()

Created on 16 November 2020, about 4 years ago
Updated 17 September 2024, 4 months ago

Problem/Motivation

The metatags_quick generates a PHP notice in AJAX requests, for example when opening a media library.

Proposed resolution

Add a sanity check to _metatags_quick_path_based_page() to prevent a notice when using PHP 7.4

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands idebr

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024