- Issue created by @tim-diels
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 1:25pm 20 November 2023 - 🇧🇪Belgium tim-diels Belgium 🇧🇪
Provided a fix for both 1.0.x and 1.2.x, this needs some review.
When there are overrides activated on the view and there are none in the form, the code throws the next error:
Warning: Trying to access array offset on value of type null in Drupal\views_block_override\Plugin\views\display\ViewsBlockOverride->blockSubmit() (regel 275 van /var/www/html/web/modules/contrib/views_block_override/src/Plugin/views/display/ViewsBlockOverride.php
Activate contextual filters on the view display
Do not have any contextual filter specified in the view display
Use the block in paragraphs or layout builder and save
Check if there are overrides before looping over them.
Create patch, review patch.
-
-
-
Needs review
1.2
Code
Provided a fix for both 1.0.x and 1.2.x, this needs some review.