Having the same issue when trying to implement form on front-end. Everything works ok, if I’m logged in (as admin, haven’t tried other user types). But, when trying to upload images while not being logged in is generating above mentioned error.
Is there any advice how to fix it?