WP Multisite: The plugin 0 has been deactivated due to an error: Plugin file does not exist

Something happened with our Multisite installation that broke everything. So in an attempt to find the problem we deleted all the plugins and themes it showed the warning "The plugin 0 has been deactivated due to an error: Plugin file does not exist." Then we tried to upload all the plugins and themes back again making sure all were clean (and on their most recent versions) and when we try to network activate any plugin it gives us a Fatal error with the same messaage. The debug.log file shows the following: [28-Aug-2024 16:48:21 UTC] Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {"schedule":"every_minute","args":["WP Cron"],"interval":60} [28-Aug-2024 17:28:51 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-admin/includes/plugin.php:708 Stack trace: #0 /var/www/html/wp-admin/plugins.php(60): activate_plugin() #1 /var/www/html/wp-admin/network/plugins.php(13): require('...') #2 {main} thrown in /var/www/html/wp-admin/includes/plugin.php on line 708 We already uploaded clean wordpress folders and files except for wp-content and wp-config.php, hoping that fixed the problem, but nothing. We also checked and deleted the meta_value of the active_plugins table of each site and of the active_sitewide_plugins table. But it still the same and can't find the origin of the problem.

Comment (0)

You’ll be in good company