AnsweredAssumed Answered

BUG: IF USER IS NOT ACTIVE ? PMSEEmailHandler->isUserActiveForEmail

Question asked by delsugar on Jun 6, 2018
Latest reply on Jun 28, 2018 by André Lopes


Using SugarCRM Enterprise Version 8.0 

PHP 7.1


Has any one else experienced this when a new BPM workflow kicks in on a user that has been deactivated?

Let's say you have a workflow that waits for 10 days before sending out an email and in between that time the user is no longer active sugar user. does anyone have this php error?


PHP Fatal error: Uncaught TypeError: Argument 1 passed to PMSEEmailHandler::isUserActiveForEmail() must be an instance of User, null given, called in F:\Sugar\modules\pmse_Inbox\engine\PMSEHandlers\PMSEEmailHandler.php on line 338 and defined in F:\Sugar\modules\pmse_Inbox\engine\PMSEHandlers\PMSEEmailHandler.php:324
Stack trace:
#0 F:\Sugar\modules\pmse_Inbox\engine\PMSEHandlers\PMSEEmailHandler.php(338): PMSEEmailHandler->isUserActiveForEmail(NULL)