<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Fatal error on activation if wp-config.php is not writable

[ad_1]

Replies: 2

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer