entity-command
entity-command copied to clipboard
site create PHP Warning: mysqli_num_fields()
Bug Report
Describe the current, buggy behavior
wp --allow-root site create --slug=~Prenom.Nom
PHP Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /usr/local/WWW/WORDPRESS4/wp_irit3/wp-includes/wp-db.php on line 3283
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /usr/local/WWW/WORDPRESS4/wp_irit3/wp-includes/wp-db.php on line 3283
Describe how other contributors can replicate this bug
Create new site
Describe what you would expect as the correct outcome
Clear warning
Let us know what environment you are running this on
OS: Linux 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64
Shell: /bin/bash
PHP binary: /usr/bin/php
PHP version: 7.2.22
php.ini used: /etc/php.ini
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: /usr/local/WWW/WORDPRESS4/wp_irit3
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.3.0
Thanks you in advance William