Warning: Undefined array key "#row" in views_rss_core_preprocess_views_view_rss()

Created on 13 May 2024, 8 months ago
Updated 16 September 2024, 4 months ago

Problem/Motivation

I am getting the following errors:

Warning: Undefined array key "#row" in views_rss_core_preprocess_views_view_rss() (line 316 of modules/contrib/views_rss/modules/views_rss_core/views_rss_core.module).
Warning: Attempt to read property "elements" on null in views_rss_core_preprocess_views_view_rss() (line 316 of modules/contrib/views_rss/modules/views_rss_core/views_rss_core.module).
Warning: foreach() argument must be of type array|object, null given in views_rss_core_preprocess_views_view_rss() (line 316 of modules/contrib/views_rss/modules/views_rss_core/views_rss_core.module).

Steps to reproduce

Not sure!

Proposed resolution

Regardless of the producing the error, it's a better approach to check if an element is set before iterating over it

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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