• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved WP_CLI - plugin update -> Invalid version string "3.5.0-dev1"

wwwAndries

New Pleskian
${WP_CLI} -instance-id ${INSTANCE_ID} -- plugin update --all ${WP_EXCLUDE_IN_UPDATE_ARG} --format=summary --skip-plugins=dummy-plugin

PHP Fatal error: Uncaught UnexpectedValueException: Invalid version string "3.5.0-dev1" in /wp-toolkit/vendor/wp-cli/vendor/composer/semver/src/VersionParser.php:185
Stack trace:
#0 /wp-toolkit/vendor/wp-cli/vendor/composer/semver/src/Semver.php(39): Composer\Semver\VersionParser->normalize('3.5.0-dev1')
#1 /wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/utils.php(931): Composer\Semver\Semver::satisfies('3.5.0-dev1', '3.4.x')
#2 /wp-toolkit/vendor/wp-cli/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(603): WP_CLI\Utils\get_named_sem_ver('3.5.0-dev1', '3.4.2')
#3 /wp-toolkit/vendor/wp-cli/vendor/wp-cli/extension-command/src/WP_CLI/CommandWithUpgrade.php(353): WP_CLI\CommandWithUpgrade->get_minor_or_patch_updates(Array, 'minor', false)
#4 /wp-toolkit/vendor/wp-cli/vendor/wp-cli/extension-command/src/Plugin_Comma in /wp-toolkit/vendor/wp-cli/vendor/composer/semver/src/VersionParser.php on line 185


CentOS Linux 7.9.2009 (Core)
Plesk Obsidian Versie 18.0.37 Update #2
PHP 7.3
 
According to a similar issue, it looks like it is a WP extension related problem.
 
Back
Top