#Editing images in AdvancedFileUpload with AutoTranslator

2 messages · Page 1 of 1 (latest)

rose hazel
#

I use the AutoTranslator and AdvancedFileUpload plugins. I found a problem with this combination. We use AdvancedFileUpload in our resource, which includes file editing. When creating a new object, everything works fine, but when editing an object, if you click edit on the photo, you get an Allowed memory size error. Even if you add a new photo when editing an object, you also get an error when you click edit photo. I tried to figure it out a bit, and it turns out that translateFormText does not exit the loop.
Through debugging, I see $key:

actions.edit.form.fields.media.schema.photos.actions.edit.form.fields.media.schema.photos.actions.edit.form.fields.media.schema.photos.actions.edit.form.fields.media.description

And so it increases until the memory runs out. Filament V3

late thistle
#

Hey @rose hazel , thanks for reporting! I just was able to debug this and I released a fix in 1.4.2. Could you try that version?