This also causes issues when I try to use wp-cli from another host using the --ssh flag (for an automated GitLab CI script), since wp-cli isn't expecting this non-standard WordPress implementation and throws a PHP error. I think setting salts in wp-config.php is probably the best option, but even just adding __DIR__.'/wp-salt.php' would have solved my issue (see https://stackoverflow.com/a/75823827/483254). I'd prefer not to have to manually edit the wp-config.php any time I generate a fresh WordPress install on Cloudways in order for it to work with wp-cli from remote servers.
This also causes issues when I try to use wp-cli from another host using the --ssh flag (for an automated GitLab CI script), since wp-cli isn't expecting this non-standard WordPress implementation and throws a PHP error. I think setting salts in wp-config.php is probably the best option, but even just adding __DIR__.'/wp-salt.php' would have solved my issue (see https://stackoverflow.com/a/75823827/483254). I'd prefer not to have to manually edit the wp-config.php any time I generate a fresh WordPress install on Cloudways in order for it to work with wp-cli from remote servers.