Frontend file upload works, but I get error “Constant ABSPATH already defined”
The code requiring wp-load is within a theme template (not a plugin). Specifically, within a page-template that allows a custom post to be added/edited from the frontend. A page template should not require any explicit loading of the WordPress Core. The template itself wouldn’t load if WordPress were not already loaded. Your other errors are … Read more