jimmy987654321
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp-config and wp-cli issueDoes anyone know where in wp-cli.phar the regex statement is that strips the abspath out of wp-config.php
Forum: Fixing WordPress
In reply to: wp-config and wp-cli issueI have tried this now on AWS lightsail as well as on the Bitnami WordPress AMI provided in the market place with the same results.
I can comment out the “require_once(ABSPATH , ‘wp-settings.php’); line and see the list of plugins. However it still shows the errors:
PHP Notice: Undefined index: HTTP_HOST in phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(982) : eval()’d code on line 90
PHP Notice: Undefined index: HTTP_HOST in phar:///usr/local/bin/wp/php/WP_CLI/Runner.php(982) : eval()’d code on line 91so it would seem to be related to the regex of the abspath statement but after that I’m lost
Forum: Fixing WordPress
In reply to: wp-config and wp-cli issueApologies, that’s probably not clear. When I run the command wp –info from /opt/bitnami/apps/wordpress/htdocs then I get expected results.
When I run “wp plugin list” I get the error above.
Forum: Fixing WordPress
In reply to: wp-config and wp-cli issueYes I’m in /opt/bitnami/apps/wordpress/htdocs