Fatal error when upgrading with wp-cli
-
Hi, I have an automated script for upgrading all plugins on all websites on a server. This command fails with fatal error when executing
$ wp plugin update --all --path=/var/www/html/webroot/
where “webroot” is actually the webroot of a particular site.
It used to work untill the last update a week ago. Today while updating, I got this error
PHP Fatal error: Uncaught UnexpectedValueException: DirectoryIterator::__construct(/data/www/html/webroot/wp-content/plugins/simple-lightbox/includes/class.options.php): failed to open dir: Not a directory in /data/www/html/webroot/wp-content/plugins/simple-lightbox/includes/class.utilities.php:1372
I have php 7.3 running on that machine, and the latest version od wp-cli (2.6.0).
- The topic ‘Fatal error when upgrading with wp-cli’ is closed to new replies.