Undefined draggableviews_structure_parent

Created on 6 March 2023, over 1 year ago
Updated 25 April 2023, about 1 year ago

I got a lot of warnings saying that $row->draggableviews_structure_parent is undefined. It could happen when upgrading to PHP 8, but I am not 100% sure. The patch attached fixed my warnings. There could be a better solution, but becuase I don't know the module enough and it fixed my problem, I'm adding the patch here.

Warning: Undefined property: Drupal\views\ResultRow::$draggableviews_structure_parent in Drupal\draggableviews\DraggableViews->getDepth() (line 59 of modules/contrib/draggableviews/src/DraggableViews.php).

๐Ÿ› Bug report
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

๐Ÿ‡ธ๐Ÿ‡ฎSlovenia joco_sp

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024