Created on 2 January 2025, 18 days ago

Problem/Motivation

Since 8.x-1.10, I have gotten a bunch of errors saying things like:

Warning: Undefined array key "value" in Drupal\podcast\Plugin\views\row\RssFields->render() (line 300 of /web/modules/contrib/podcast/src/Plugin/views/row/RssFields.php)

Warning: Undefined array key "value" in {closure}() (line 77 of /web/modules/contrib/podcast/podcast.module)

Warning: foreach() argument must be of type array|object, null given in {closure}() (line 74 of /web/modules/contrib/podcast/podcast.module)

Warning: Undefined array key "attributes" in {closure}() (line 74 of /web/modules/contrib/podcast/podcast.module)

Steps to reproduce

Have a podcast RSS feed that does not have the Podcasting 2.0 fields.

Proposed resolution

Create text fields and/or dropdowns) in the Views UI to enter values for the channel and items and add if statements in RssFields.php RSS.php, and podcast.module to each field to see if the field is defined.

🐛 Bug report
Status

Active

Version

1.10

Component

Code

Created by

🇺🇸United States scampbell1 New York

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

Comments & Activities

Production build 0.71.5 2024