wp-salts.php breaks the WP CLI
wp-salts.php in wp-config.PHP Warning: require(wp-salt.php): Failed to open stream: No such file or directory in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WPCLI/Runner.php(1334) : eva
l()'d code on line 34
PHP Fatal error: Uncaught Error: Failed opening required 'wp-salt.php' (includepath='.:/usr/share/php') in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/R
unner.php(1334) : eval()'d code:34
Stack trace:
0 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1334): eval()
1 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WPCLI/Runner.php(1293): WPCLI\Runner->load_wordpress()
2 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WPCLI/Bootstrap/LaunchRunner.php(28): WPCLI\Runner->start()
3 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
4 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
5 phar:///usr/local/bin/wp/php/boot-phar.php(20): include('phar:///usr/loc...')
6 /usr/local/bin/wp(4): include('phar:///usr/loc...')
7 {main}
thrown in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1334) : eval()'d code on line 34 php breaks the WP CLI:
This is when adding a wordpress application via cloudways GUI, I suggest you implement a fix to wp-config.php so you don't break the WP CLI? As a fix I remove the wp-salts.php file and add salts in the old fashioned way.