BlazyViews::withViewsField calls set() on null if no results in view

Created on 26 June 2024, 7 months ago
Updated 11 July 2024, 6 months ago

Problem/Motivation

If a view renders with no results (or no results that would render the field with the slideshow) then $blazy->mergedSettings is empty and $settings['blazies'] is undefined.

Steps to reproduce

Create a view using a Blazy Media field which would show no results, or a list of nodes with no content in the referenced media field.

Proposed resolution

Check for nulls.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Regression

Created by

🇺🇸United States karlshea Minneapolis 🇺🇸

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024