Fatal error on activation if wp-config.php is not writable
-
Warning: file_put_contents(/nas/content/live/gelway/staging101/wp-config.php): Failed to open stream: Permission denied in /nas/content/live/gelway/staging101/wp-content/plugins/wp-debugging/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php on line 355
Caught Exception: \Fragen\WP_Debugging\Settings::add_constants() – Failed to update the config file.
Hi Andy, I’m seeing the above fatal error on activation. I suspect the
wp-config.php
file is not writable. It might be nice to test that and show a more graceful error.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error on activation if wp-config.php is not writable’ is closed to new replies.