• I know this question has been answered before, but I cannot find a solution that works for me. I’m on an Ubuntu server, I’ve installed the latest WP Cli, I’ve turned off warnings and errors in my php.ini, I’ve verified that WP Cli is using that ini file, I’ve turned off debugging in wp-config.php, and I’ve explicitly turned it off with WP Cli.

    Then I run “wp plugin install akismet” and I get;

    PHP Warning:  Undefined array key "x-amz-bucket-region" in /var/www/xxx/wp-content/plugins/ilab-media-tools/lib/mcloud-aws/aws-sdk-php/src/S3/S3ClientTrait.php on line 219
    Warning: Undefined array key "x-amz-bucket-region" in /var/www/xxx/wp-content/plugins/ilab-media-tools/lib/mcloud-aws/aws-sdk-php/src/S3/S3ClientTrait.php on line 219
    PHP Warning:  Undefined variable $wp_taxonomies in /var/www/xxx/wp-content/themes/alivio/functions.php on line 1400
    Warning: Undefined variable $wp_taxonomies in /var/www/xxx/wp-content/themes/alivio/functions.php on line 1400
    PHP Warning:  Trying to access array offset on value of type null in /var/www/xxx/wp-content/themes/alivio/functions.php on line 1400
    Warning: Trying to access array offset on value of type null in /var/www/xxx/wp-content/themes/alivio/functions.php on line 1400

    PHP warnings still show up, and they show up twice. What is going on?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there,

    Just from reading those error messages it shows that there is a plugin causing that and the theme is also having some issues. One thing that comes to mind would be passing the --skip-themes and --skip-plugins flag when running WPCLI. I would suggest reaching out to the theme and plugin developers about that though and see if they have exper8enced that previously.

    Thread Starter publicradio

    (@publicradio)

    Thanks for the reply. The –skip-plugins flag did the trick. Do you know if there’s any way to define this as a constant, so I don’t have to add the flag every time?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP Cli warnings unsuppressable’ is closed to new replies.