Permissions Issue
-
Hello
We have Cache-enabler version 1.7.2 and WordPress 5.7.2 , running on Debian Buster 10, Apache 2.4, and PHP 7.4
The plugin fails to activate and throws the below error message, unless user www-data has read/write access to folder wp-admin.
If temporary permission is granted, the plugin activates, but when permissions are reset , the same PHP errors below floods the logs
Is there some reason the plugin would need read/write access to folder wp-admin, or is there some other reason/workaround ?
Thank you
Fatal error: Uncaught RuntimeException: FTP hostname is required in /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php:887 Stack trace: #0 /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php(923): Cache_Enabler_Disk::get_filesystem() #1 /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php(383): Cache_Enabler_Disk::mkdir_p() #2 /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler.class.php(323): Cache_Enabler_Disk::create_settings_file() #3 /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler.class.php(408): Cache_Enabler::update_backend() #4 /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler.class.php(135): Cache_Enabler::each_site() #5 /var/www/html/some-website/public_html/wp-includes/class-wp-hook.php(292): Cache_Enabler::on_activation() #6 /var/www/html/some-website/public_html/wp-i in /var/www/html/some-website/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_disk.class.php on line 900`
- The topic ‘Permissions Issue’ is closed to new replies.