Problem/Motivation
I setup a plain text field to use as a category, added that field to the rss view and finally selected it as the category in Item elements : core.
Then I got the following message:
Oops, something went wrong. Check your browser's developer console for more details.
php-error acn [14-Jan-2025 13:21:49 America/New_York] Uncaught PHP Exception Error: "Call to a member function toUrl() on bool" at /var/www/html/docroot/modules/contrib/views_rss/modules/views_rss_core/views_rss_core.inc line 268 request_id="v-6b22bf0e-d2a4-11ef-a091-cf1f7edbd39d"
I also switched the rss category to use a term field, the title field, a link field. etc. and no matter what I select in that field, other than none, the feed stops working.
Issue fork views_rss-3499741
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
idebr commentedThe item category contains additional logic to add a URL attribute when it uses a term reference field.
Using a field that is not a term reference will now no longer trigger a PHP exception
Comment #6
idebr commented