wp-cli update error, version 2.9.14
-
Hi
We have problems updating the plugin using wp-cli, if we use this comnand:
wp plugin update elementor --patch --dry-run
we get this error
PHP Fatal error: Uncaught UnexpectedValueException: Invalid version string "3.1.0-dev1" in phar:///usr/local/bin/wp/vendor/composer/semver/src/VersionParser.php:172 Stack trace: #0 phar:///usr/local/bin/wp/vendor/composer/semver/src/Semver.php(39): Composer\Semver\VersionParser->normalize('3.1.0-dev1') #1 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php(785): Composer\Semver\Semver::satisfies('3.1.0-dev1', '2.9.x') #2 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(583): WP_CLI\Utils\get_named_sem_ver('3.1.0-dev1', '2.9.14') #3 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(342): WP_CLI\CommandWithUpgrade->get_minor_or_patch_updates(Array, 'patch') #4 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(640): WP_CLI\CommandWithUpgrade->update_many(Array, Array) #5 [internal function]: Plugin_Command->update(Array, Array) #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFacto in phar:///usr/local/bin/wp/vendor/composer/semver/src/VersionParser.php on line 172 Fatal error: Uncaught UnexpectedValueException: Invalid version string "3.1.0-dev1" in phar:///usr/local/bin/wp/vendor/composer/semver/src/VersionParser.php:172 Stack trace: #0 phar:///usr/local/bin/wp/vendor/composer/semver/src/Semver.php(39): Composer\Semver\VersionParser->normalize('3.1.0-dev1') #1 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/utils.php(785): Composer\Semver\Semver::satisfies('3.1.0-dev1', '2.9.x') #2 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(583): WP_CLI\Utils\get_named_sem_ver('3.1.0-dev1', '2.9.14') #3 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(342): WP_CLI\CommandWithUpgrade->get_minor_or_patch_updates(Array, 'patch') #4 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(640): WP_CLI\CommandWithUpgrade->update_many(Array, Array) #5 [internal function]: Plugin_Command->update(Array, Array) #6 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFacto in phar:///usr/local/bin/wp/vendor/composer/semver/src/VersionParser.php on line 172
We don’t have this problem with other plugins, just elementor.
Thanks for any help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp-cli update error, version 2.9.14’ is closed to new replies.