Fatal error trying to install or upgrade any plugin or theme
-
After upgrade WP to 6.4.2 version, I can’t install or upgrade any plugin.
The site is runing but I receive the following error:
Fatal error: Uncaught TypeError: array_keys(): Argument #1 ($array) must be of type array, false given in /var/www/html/wp-admin/includes/class-wp-upgrader.php:556 Stack trace: #0 /var/www/html/wp-admin/includes/class-wp-upgrader.php(556): array_keys() #1 /var/www/html/wp-admin/includes/class-wp-upgrader.php(876): WP_Upgrader->install_package() #2 /var/www/html/wp-admin/includes/class-plugin-upgrader.php(135): WP_Upgrader->run() #3 /var/www/html/wp-admin/update.php(176): Plugin_Upgrader->install() #4 {main} thrown in /var/www/html/wp-admin/includes/class-wp-upgrader.php on line 556
I tried to deactivate all plugins, but the error still persists.
PHP version is 8.3
Anyone could help me?
- The topic ‘Fatal error trying to install or upgrade any plugin or theme’ is closed to new replies.