Runtime Exception error when updating to 5.1.6
-
Hello. When trying to update to the latest version 5.1.6 from 5.1.5 of the events calendar on my staging website, it failed with a Runtime Error. This resulted in the plugin being deleted during the update. When I looked in my plugins folder in my file manager, the-events-calendar folder did not have any files left in it. There were just empty folders left. Here is the error information:
WordPress version 5.5
Current theme: Parabola Child Theme (version 2.0.4.1475005150)
Current plugin: The Events Calendar (version 5.1.5)
PHP version 7.4.9Error Details
=============
An error of type E_ERROR was caused in line 352 of the file /home/staging/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php. Error message: Uncaught RuntimeException: Error while making ‘Tribe\PUE\Update_Prevention’: Class Tribe\PUE\Update_Prevention does not exist in /home/staging/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php:352
Stack trace:
#0 /home/staging/public_html/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(281): tad_DI52_Container->resolve(‘Tribe\\PUE\\Updat…’)
#1 /home/staging/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Service_Providers/PUE.php(48): tad_DI52_Container->make(‘Tribe\\PUE\\Updat…’)
#2 /home/staging/public_html/wp-includes/class-wp-hook.php(287): Tribe\Service_Providers\PUE->filter_upgrader_source_selection(‘/home/staging/…’, ‘/home/staging/…’, Object(Plugin_Upgrader), Array)
#3 /home/staging/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘/home/staging/…’, Array)
#4 /home/staging/public_html/wp-admin/includes/class-wp-upgrader.php
- The topic ‘Runtime Exception error when updating to 5.1.6’ is closed to new replies.