- Issue created by @Rory Downes
A custom module extending EntityLegalPluginBase caused this error on upgrade from Drupal core 10.2 to 10.3. It implemented execute that looped through the documents parameter.
Create a plugin that extends EntityLegalPluginBase on a D10.3 site. Have an execute method that loops through documents without initialising it.
Rather than check for documents being undefined, initialise it to an empty array in the base class.
Check patch that I attach.
None
None
None
Active
4.0
Code