Closed (fixed)
Project:
Diff Plus
Version:
1.1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2024 at 01:02 UTC
Updated:
14 Apr 2026 at 02:15 UTC
Jump to comment: Most recent
When I first activate the module, I get 4 warnings.
I don't see these warnings again after that. You can see below.
Any idea,please? Thanks
d10.site/admin/config/content/diff/general
Warning: Trying to access array offset on null in Drupal\diff\Form\GeneralSettingsForm->buildForm() (line 84 of /var/www/html/d10site/web/modules/contrib/diff/src/Form/GeneralSettingsForm.php)
Warning: Undefined array key "raw_html" in Drupal\diff\Form\GeneralSettingsForm->buildForm() (line 80 of /var/www/html/d10site/web/modules/contrib/diff/src/Form/GeneralSettingsForm.php)
Warning: Trying to access array offset on null in Drupal\diff\Form\GeneralSettingsForm->buildForm() (line 84 of /var/www/html/d10site/web/modules/contrib/diff/src/Form/GeneralSettingsForm.php)
Warning: Undefined array key "visual_inline_html5" in Drupal\diff\Form\GeneralSettingsForm->buildForm() (line 80 of /var/www/html/d10site/web/modules/contrib/diff/src/Form/GeneralSettingsForm.php)
Diff Pluss:1.1.0
Diff : 2.0.0-beta3
Drupal:10.3.6
Comments
Comment #2
dineshkumarbollu commentedHi pearls,
Can you provide php version also for reproducing the issue.
Comment #3
pearls commentedHi dineshkumarbollu ,
It's 8.3.
But, I don't remember the exact version when I created the issue. It may be 8.3.9 .
Comment #4
luke.leberI can reproduce this! I've opened an upstream issue with diff to see what the best way to resolve this is.
Thanks for reporting!
Comment #5
luke.leberGreat news! #3515557: Harden general settings form against newly added layout plugins landed upstream, fixing this for all implementations starting with the next release of the diff module.