From the command WP-Cli is unable to install or update plugins, throwing the following error:
The package could not be installed. "PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
Installing the plugin...
Warning: The package could not be installed. "The plugin contains no files."
Plugin installation failed.
Warning: The 'wordpress-seo' plugin could not be found.
Error: No plugins installed.
I get this error regardless of which plugin I try to install.
Troubleshooting that I have tried.
- switched to unlimited disk space
- verified that the php zip module was installed
- verified the php mempry_limit is 512M within php.ini (php8.1)
- directly defined php memory_limit in wp-config.php as 512M
Any clues?