wordpress image uploads

I have created my own upload function for forms on my sites frontend. the images upload correctly, but in some cases a blank reference to the image with this as its path: /USR/WWW/USERS//WP-CONTENT/BLOGS.DIR/2/FILES/ occurs in the media library. its seems as though the form uploads images but where there is no image to upload a blank reference is ‘uploaded’ instead. any ideas of what may be causing this? deleting these empty rows in the db does not affect the site, but seems like bad practice.

Related posts

Leave a Reply

1 comment