Fatal Error Crash
-
I’ve also posted an issue on GitHub
Please consider adding a check to see if writing to
wp-config.php
is possible, because on some hosts, such as this one ( raidboxes.io ), thewp-config.php
file is locked, and I think this is a good practice. It’s fine to modify it, but the code should be resilient to the fact that it can’t be modified, so if it can’t write towp-config.php
, it should simply report this instead of causing the site to crash.PHP Warning: file_put_contents(/.../wp-config.php): Failed to open stream: Permission denied in /.../wp-content/plugins/admin-site-enhancements/classes/class-wp-config-transformer.php on line 418
PHP Fatal error: Uncaught Exception: Failed to update the config file. in /.../wp-content/plugins/admin-site-enhancements/classes/class-wp-config-transformer.php:421Once again – thank you for the excellent plugin.
- You must be logged in to reply to this topic.