Trello: Error: Class 'Symfony\Component\EventDispatcher\Event' not found
Sentry Issue: CATTR-CORE-2Y
Error: Class 'Symfony\Component\EventDispatcher\Event' not found
File "/Modules/TrelloIntegration/Services/SyncTasks.php", line 68, in Modules\TrelloIntegration\Services\SyncTasks::synchronizeAssignedIssues
$trelloUser = $client->members()->show('me', ['token' => $appToken]);
File "/Modules/TrelloIntegration/Services/SyncTasks.php", line 36, in Modules\TrelloIntegration\Services\SyncTasks::synchronizeAll
$this->synchronizeAssignedIssues($user);
File "/Modules/TrelloIntegration/Console/SyncTasks.php", line 43, in Modules\TrelloIntegration\Console\SyncTasks::handle
$this->service->synchronizeAll();
File "/artisan", line 37
new Symfony\Component\Console\Output\ConsoleOutput
...
(25 additional frame(s) were not displayed)
[2020-04-08 07:20:02] staging.ERROR: Class 'Symfony\Component\EventDispatcher\Event' not found {"exception":"[object] (Error(code: 0): Class 'Symfony\\Component\\EventDispatcher\\Event' not found at /home/cattr/backend/vendor/guzzle/guzzle/src/Guzzle/Common/Event.php:10)
[stacktrace]
#0 /home/cattr/backend/vendor/composer/ClassLoader.php(444): include()
#1 /home/cattr/backend/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile()
#2 [internal function]: Composer\\Autoload\\ClassLoader->loadClass()
#3 /home/cattr/backend/vendor/guzzle/guzzle/src/Guzzle/Common/AbstractHasDispatcher.php(40): spl_autoload_call()
#4 /home/cattr/backend/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php(450): Guzzle\\Common\\AbstractHasDispatcher->dispatch()
#5 /home/cattr/backend/vendor/guzzle/guzzle/src/Guzzle/Http/Client.php(199): Guzzle\\Http\\Client->prepareRequest()
#6 /home/cattr/backend/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/HttpClient.php(201): Guzzle\\Http\\Client->createRequest()
#7 /home/cattr/backend/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/HttpClient.php(145): Trello\\HttpClient\\HttpClient->createRequest()
#8 /home/cattr/backend/vendor/cdaguerre/php-trello-api/lib/Trello/HttpClient/HttpClient.php(93): Trello\\HttpClient\\HttpClient->request()
#9 /home/cattr/backend/vendor/cdaguerre/php-trello-api/lib/Trello/Api/AbstractApi.php(117): Trello\\HttpClient\\HttpClient->get()
#10 /home/cattr/backend/vendor/cdaguerre/php-trello-api/lib/Trello/Api/Member.php(75): Trello\\Api\\AbstractApi->get()
#11 /home/cattr/backend/Modules/TrelloIntegration/Services/SyncTasks.php(68): Trello\\Api\\Member->show()
#12 /home/cattr/backend/Modules/TrelloIntegration/Services/SyncTasks.php(36): Modules\\TrelloIntegration\\Services\\SyncTasks->synchronizeAssignedIssues()
#13 /home/cattr/backend/Modules/TrelloIntegration/Console/SyncTasks.php(43): Modules\\TrelloIntegration\\Services\\SyncTasks->synchronizeAll()
#14 [internal function]: Modules\\TrelloIntegration\\Console\\SyncTasks->handle()
#15 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array()
#16 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Container/Util.php(36): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#17 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\\Container\\Util::unwrapIfClosure()
#18 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\\Container\\BoundMethod::callBoundMethod()
#19 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Container/Container.php(592): Illuminate\\Container\\BoundMethod::call()
#20 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\\Container\\Container->call()
#21 /home/cattr/backend/vendor/symfony/console/Command/Command.php(255): Illuminate\\Console\\Command->execute()
#22 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#23 /home/cattr/backend/vendor/symfony/console/Application.php(912): Illuminate\\Console\\Command->run()
#24 /home/cattr/backend/vendor/symfony/console/Application.php(264): Symfony\\Component\\Console\\Application->doRunCommand()
#25 /home/cattr/backend/vendor/symfony/console/Application.php(140): Symfony\\Component\\Console\\Application->doRun()
#26 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\\Component\\Console\\Application->run()
#27 /home/cattr/backend/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()
#28 /home/cattr/backend/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#29 {main}
"}
Edited by Vitaliy Pavkin