admin/environment/php setting/file uploads
From MoodleDocs
file_uploads needs to be activated (ON).
Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: admin/environment/php setting/file uploads.
file_uploads needs to be activated (ON).