Errors regarding missing property $namespace

Created on 6 October 2023, over 1 year ago

Problem/Motivation

When configuring a view on Drupal 10, using the latest code along with the Drupal 10 compatibility patch we found that the view throws the following errors on preview:

TypeError: array_merge(): Argument #1 must be of type array, null given in array_merge() (line 177 of /var/www/html/mysite/html/core/modules/views/src/Plugin/views/row/RssFields.php).

Warning: Undefined property: Drupal\atom\Plugin\views\style\Atom::$namespaces in Drupal\views\Plugin\views\row\RssFields->render() (line 177 of /var/www/html/mysite/html/core/modules/views/src/Plugin/views/row/RssFields.php)

Steps to reproduce

1. On Drupal 10, add the Drupal 10 compatibility patch
2. Build an atom view
3. Preview the view and notice nothing happens
4. Look in the logs to find the errors

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇦Canada joel_osc

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

Comments & Activities

Production build 0.71.5 2024