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

  1. Install Drupal 9
  2. Add to page
  3. Review logs

Proposed resolution

Need to check for null value

CommentFileSizeAuthor
#2 dx8_addtoany-3266635.patch523 bytesjeremypeter
Command icon 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

jeremypeter created an issue. See original summary.

jeremypeter’s picture

StatusFileSize
new523 bytes

thoward216’s picture

Assigned: Unassigned » thoward216
Status: Active » Fixed

Fix has been implemented in v8.x-1.4 of the module.

thoward216’s picture

Status: Fixed » Closed (fixed)