Open stephen-cox opened 2 years ago
I'm re-opening this as I've got similar issues again locally.
Also https://github.com/localgovdrupal/localgov_microsites/issues/190
This an issue, again!
Just like mentioned here: https://www.drupal.org/project/responsive_preview/issues/3302861
Which takes us back to https://www.drupal.org/project/group/issues/2853001
The latest patch on there seems to suppress the problem.
Steps to reporoduce:
See
Error message
Warning: Undefined array key "preview" in Drupal\responsive_preview\ResponsivePreview->formAlter() (line 221 of modules/contrib/responsive_preview/src/ResponsivePreview.php). Warning: Trying to access array offset on value of type null in Drupal\responsive_preview\ResponsivePreview->formAlter() (line 221 of modules/contrib/responsive_preview/src/ResponsivePreview.php).
Solution: apply this patch https://www.drupal.org/files/issues/2023-09-25/group2-2853001-26.patch
Node preview doesn't currently work with group content: https://www.drupal.org/project/group/issues/2853001
Also see: https://github.com/localgovdrupal/localgov_microsites/issues/190