Slim Application Error when uploading article

Hi, I think the path needs to be out of the web folder for security rather than under the same structure where config file is.

Hi, I am already using PHP7.4 but still getting Slim Application Error.

This trick also didnā€™t work. Still the error appears.

Hii, i am already check with the above changes. i am working on ojs code and curl code to upload the submission to an external server but getting error ā€œslim application errorā€ in console while file uploading.
|message|ā€œSlim Application Errorā€|

even using the curl code the authentication got successfully done. But at time of file uploading itā€™s showing slim application error. anyone have any solution on this. Thanks