getTokenValue evaluating ID throws 100s of log warnings

Created on 8 August 2023, 11 months ago
Updated 15 May 2024, about 1 month ago

Problem/Motivation

View fields plugin throws warning errors filling up logs on all view displays.
While I don't know the scenario for why the ID is empty.
But it's not catched ahead of the function causing a warning in PHP 8.1

Steps to reproduce

View any view display with fields.

Proposed resolution

Add ID detection and if missing provide empty string.

Patch attached.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States emptyvoid

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

Comments & Activities

Production build 0.69.0 2024