If I may add to this. We were going to submit a bug report but had a few days off. We were getting wrong path a lot recently yet were doing the same as we always did, even copied step for step from working Actions just to be sure were not being idiots. Switched the upload step to a repeat and all works fine. Not sure if it is a bug but we tried again and again with the single upload and repeatedly got the wrong path error.… Only since 4.0.1.
Dave if your upload works with a repeat only, then your input is set as ‘multi’, not single - either on the page or under $_POST or in both places. Please keep different issues in separate topics.
Please provide screenshots where we can see your steps and what is selected as expressions for upload, load image, what is your file POST variable and related steps.
In your server action expand the POST vars and just select the file input EmpPhoto so i can see its properties.
If the image is not uploaded then something is wrong with the input probably. Maybe check if the file input name on the page is having the same name as the post variable ...
If the image is not uploaded, this is most probably causing the issue with the NULL path as when no upload happens no path is returned.
Check the permissions for this folder please.
Also maybe enable the throw errors option and check for other errors in the dev tools:
hmm not seeing anything weird but I did notice that I changed the path by adding and x after the folder name (to see if it would show up in dev tools) The folder was created but the files was not uploaded there either.