Problems calling WP_Filesystem
-
I’m trying to get direct access to the filesystem in wordpress so i can stream a file to another location.
WP_Filesystem() always returns false. The file i try to read is in the wp-content/uploads folder which the www-data user has full access to, www-data user is owner of the entire wp-content folder. I have even tried setting all the folders in the entire app to 777.My code runs in a filter attached to the media upload.
I’m hosting the app using the php:7.1-apache docker image.
I don’t understand how to troubleshoot this.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problems calling WP_Filesystem’ is closed to new replies.