Problem/Motivation
Getting the following error on Drupal 9 and Site Studio >=6.8:
Notice: Trying to access array offset on value of type null in Drupal\dx8_addtoany\Plugin\CustomElement\AddToAny->render()
(line 158 of ...denali-engagepd/src/web/modules/contrib/dx8_addtoany/src/Plugin/CustomElement/AddToAny.php)
Steps to reproduce
- Install Drupal 9
- Add to page
- Review logs
Proposed resolution
Need to check for null value
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | dx8_addtoany-3266635.patch | 523 bytes | jeremypeter |
Issue fork dx8_addtoany-3266635
Show commands
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 #2
jeremypeter commentedComment #5
thoward216 commentedFix has been implemented in v8.x-1.4 of the module.
Comment #6
thoward216 commented