Closed (fixed)
Project:
Atom
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2021 at 15:27 UTC
Updated:
3 Mar 2021 at 15:29 UTC
Jump to comment: Most recent
We have seen our logging filled up with the following error message.
Notice: Undefined property: stdClass::$elements in template_preprocess_views_view_row_atom() (line 115 of modules/contrib/atom/atom.module).
While investigating the issue I found, that the $item->elements is not defined and therefore empty. Also the array that was supposed to be build here $variables['item_elements'] is not used in the Twig template. This seems to be legacy, which might have been missed out during the Drupal 7 -> Drupal 8 upgrade of the module.
I would vote for just removing those.
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
szeidler commentedAbove you can find a merge request.
Comment #5
spotzero commentedFixed. Thanks!