ColoredCow / portal

A hub-and-spoke platform for organizations to effectively manage their operations and data. Uses GSuite.
MIT License
55 stars 52 forks source link

Error while Sending the reminders of the pending invoices #3360

Open mohitsharma-22 opened 1 year ago

mohitsharma-22 commented 1 year ago

Describe the bug Today, when I clicked the send reminder button, it opened the modal to send the email. Click on the Send email button throws an error.

Screenshots

Screenshot 2023-09-11 at 2 59 02 PM Screenshot 2023-09-11 at 3 00 16 PM Screenshot 2023-09-11 at 3 01 22 PM
Satendra-SR commented 1 year ago

Production log

production.ERROR: Call to undefined method Modules\Project\Services\ProjectService::getMailForFixedBudgetProjectKeyAccountManagers() {"exception":"[object] (Error(code: 0): Call to undefined method Modules\\Project\\Services\\ProjectService::getMailForFixedBudgetProjectKeyAccountManagers() at /var/www/html/portal.coloredcow.com/Modules/Project/Console/FixedBudgetProject.php:44)
[stacktrace]
#0 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Modules\\Project\\Console\\FixedBudgetProject->handle()
#1 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#2 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#3 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#4 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#5 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call()
#6 /var/www/html/portal.coloredcow.com/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute()
#7 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#8 /var/www/html/portal.coloredcow.com/vendor/symfony/console/Application.php(1040): Illuminate\\Console\\Command->run()
#9 /var/www/html/portal.coloredcow.com/vendor/symfony/console/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()
#10 /var/www/html/portal.coloredcow.com/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#11 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\\Component\\Console\\Application->run()
#12 /var/www/html/portal.coloredcow.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()
#13 /var/www/html/portal.coloredcow.com/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#14 {main}
"} 
GauravGusain98 commented 1 year ago
getMailForFixedBudgetProjectKeyAccountManagers

@Satendra-SR This error is not related to this issue.

deepakbarmola commented 12 months ago

This was in relation to session token expiry.

We should redirect the user to the login page when user take any action on the web after session expiry.