- Issue created by @scampbell1
- 🇺🇸United States scampbell1 New York
I created a VERY rough patch that seems to have eliminated the PHP warnings I was seeing by adding a bunch of isset and is_null if statements.
This is just a starting point.
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)
Have a podcast RSS feed that does not have the Podcasting 2.0 fields.
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.
Active
1.10
Code
I created a VERY rough patch that seems to have eliminated the PHP warnings I was seeing by adding a bunch of isset and is_null if statements.
This is just a starting point.