Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We recently enabled the ImageField Focus module (https://www.drupal.org/project/imagefield_focus) to more effectively manage focus and cropping of node images. Ever since doing so, we regularly receive the following error message from Autosave when saving nodes:
Notice: Undefined index: autosave_form_path in autosave_remove_autosaved_form_submit (line 258 of /sites/all/modules/autosave/autosave.module)
It occurs approximately once every 3 or 4 times a node is saved, and only on nodes where there is an image field that has ImageField Focus enabled.
Comments
Comment #1
ron_s CreditAttribution: ron_s commentedA follow-up on this: We have found when Autosave is being used in conjunction with AdvAgg for JS/CSS compression and aggregation, it blocks ImageField Focus from loading values into its Focus and Crop fields on an entity. This happens about 90% of the time.
The only way to resolve at the moment is to disable Autosave. Once Autosave is turned off, all ImageField Focus functionality works without issue.
Comment #2
ron_s CreditAttribution: ron_s commentedNeeded to update this is not with 2.2, but with the current 2.x-dev from March 6, 2015.