Hello,
I am trying to make a plugin where each time a page is saved I parse the content and write some aggregated data to a hidden field based on what I parsed.
To do this, I am using the page.update:after hook and calling $page→update() inside that hook to write my new field content. However, this causes an error to pop up in the panel “The version is locked and cannot be deleted.” I assume this is due to the new but unstable Version() class. Is there a recommended way around this issue at the moment?
Thanks!