Unable to install plugins after upgrade to 3.4.0.5

Describe the issue or problem
After upgrade OJS to 3.4.0.5 with no errors I’m unable to install plugins. I select the plugin and when asked if i’m shure to install, click OK but nothing happens. The installation window remains open.

Steps I took leading up to the issue

  1. Go to Plugins, select the plugin, confirm instalation, click OK but nothing happens.

What application are you using?
OJS 3.4.0-5

Additional information
[Fri Oct 11 17:10:52.106689 2024] [proxy_fcgi:error] [pid 39723] [client 194.117.3.25:26129] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function connection() on null in /var/www/clients/client7/web40/web/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:98\nStack trace:\n#0 /var/www/clients/client7/web40/web/ojs/plugins/generic/usageStats/UsageStatsMigration.inc.php(26): Illuminate\Database\Capsule\Manager::schema()\n#1 /var/www/clients/client7/web40/web/ojs/lib/pkp/classes/plugins/Plugin.php(722): UsageStatsMigration->up()\n#2 [internal function]: PKP\plugins\Plugin->updateSchema()\n#3 /var/www/clients/client7/web40/web/ojs/lib/pkp/classes/plugins/Hook.php(139): call_user_func_array()\n#4 /var/www/clients/client7/web40/web/ojs/lib/pkp/classes/plugins/Hook.php(113): PKP\plugins\Hook::run()\n#5 /var/www/clients/client7/web40/web/ojs/lib/pkp/classes/install/Installer.php(229): PKP\plugins\Hook::call()\n#6 /var/www/clients/client7/web40/web/ojs/lib/pkp/classes/install/Installer.php(213): PKP\install\Installer->postInstall()\n#7 /var/www/clients/…’