weglot causing notices when using wp-cli
-
weglot version 3.1.0
PHP Notice: Undefined index: SERVER_NAME in /var/www/html/wp-content/plugins/weglot/vendor/weglot/weglot-php/src/Util/Server.php on line 150
Notice: Undefined index: SERVER_NAME in /var/www/html/wp-content/plugins/weglot/vendor/weglot/weglot-php/src/Util/Server.php on line 150
PHP Notice: Undefined index: SERVER_PORT in /var/www/html/wp-content/plugins/weglot/vendor/weglot/weglot-php/src/Util/Server.php on line 131
Notice: Undefined index: SERVER_PORT in /var/www/html/wp-content/plugins/weglot/vendor/weglot/weglot-php/src/Util/Server.php on line 131The $server variables are not available when running commands via wp-cli.
- The topic ‘weglot causing notices when using wp-cli’ is closed to new replies.