- Issue created by @jlscott
- Status changed to Needs review
about 1 year ago 11:23pm 23 May 2023 - last update
about 1 year ago Composer error. Unable to continue. - π³πΏNew Zealand jlscott
It turns out that the patch referred to from issue π± Support [node:nid] token | specially for prefilled option Fixed does not fix the error for all use cases. I was still encountering the reported error in some instances.
The solution for all cases is to avoid doing an update and save of the entity in hook_insert, but to register a shutdown function and perform the update and save during shutdown.
An updated patch, including the changes from #2920695, is attached.