Hi Stef123, sorry to hear about your issue. I ran that menu item on a folder with a couple of subs and didn't experience an issue but I'll see if I can duplicate your problem. From what I see it doesn't look like there was a proper match up of
thumbnail size to arrive at the proper
thumbnail view number or cid. If you can supply an additional info you can PM me.
Regarding the selecting of
thumbnail sizes on each sub folder, I was wondering if people would rather not have the prompt for thumb size. I had my doubts. I'm surprised if you're looking for less user interaction that you wouldn't use the other options, "Refresh [folder and subs]" or "Delete and Rebuild [folder and subs]" instead. Refresh will do the same but with the existing
thumbnail sizes and Delete & Rebuild (currently incorrectly labeled Build and Delete) will allow you to pick a
thumbnail size and apply that through out the folder and all subs without any user prompting. It will also delete any caches in sizes other than the one you selected. The Rebuild [folder and subs] menu option is alright I suppose if you only have a few subs but with many it's not so nice. If there are no objections from others, I'll either have a prompt after the first folder selection of thumb size, to ask the user if they would like to use that
thumbnail size selected to all the subs or be prompted on each and every sub. Though, I dislike having to add additional prompting though (i.e., more user interaction that's why the other options may be better for you). I'm not sure yet about the reporting of database file size changes. I'll probably just show that at the very end of all the subs no matter what option is selected instead of after each folder/sub. Any thoughts? I don't want to get to carried away since there are other options out there.
EDIT: I was assuming the error you received was in the menu option "Build
Thumbnail Cache [current folder && subs]" since you were initially discussing that option, but it's in the "Delete && Rebuild
Thumbnail Cache [current folder && subs]" option so you must have used it at least once.

Unfortunately I left a "step" and "unstep" in the uploaded version that I had in there while troubleshooting. Please remove the "step;" in line 229 and "unstep;" in line 236. I'll correct in the next upload.
Thanks,
Ken