Fatal error on cron job for version 3.6
In Civirules.php line 56:
Cannot assign string to property CRM_Civirules_TriggerData_TriggerData::$contact_id of type int
Data in db:
O:14:"CRM_Queue_Task":4:{s:8:"callback";a:2:{i:0;s:20:"CRM_Civirules_Engine";i:1;s:20:"executeDelayedAction";}s:9:"arguments";a:1:{i:0;O:43:"CRM_Civirules_ActionEngine_RuleActionEngine":3:{s:13:" * ruleAction";a:7:{s:2:"id";s:2:"57";s:7:"rule_id";s:2:"48";s:9:"action_id";s:2:"47";s:13:"action_params";s:273:"a:10:{s:9:"from_name";s:0:"";s:10:"from_email";s:0:"";s:11:"template_id";s:2:"83";s:14:"disable_smarty";b:0;s:16:"location_type_id";s:0:"";s:17:"from_email_option";s:1:"7";s:28:"alternative_receiver_address";s:0:"";s:2:"cc";s:0:"";s:3:"bcc";s:0:"";s:12:"file_on_case";b:0;}";s:5:"delay";s:65:"O:25:"CRM_Civirules_Delay_XDays":1:{s:12:" * dayOffset";s:1:"1";}";s:27:"ignore_condition_with_delay";s:1:"0";s:9:"is_active";s:1:"1";}s:14:" * triggerData";O:30:"CRM_Civirules_TriggerData_Edit":9:{s:50:" CRM_Civirules_TriggerData_TriggerData entity_data";a:2:{s:8:"Activity";a:7:{s:2:"id";i:230904;s:11:"activity_id";i:230904;s:16:"activity_type_id";i:71;s:18:"activity_date_time";s:14:"20240425140559";s:9:"status_id";i:17;s:18:"activity_status_id";i:17;s:11:"priority_id";i:2;}s:15:"ActivityContact";a:4:{s:2:"id";s:6:"680802";s:11:"activity_id";s:6:"230904";s:10:"contact_id";s:6:"157493";s:14:"record_type_id";s:1:"3";}}s:12:" * entity_id";i:230904;s:14:" * entity_name";s:8:"Activity";s:50:" CRM_Civirules_TriggerData_TriggerData custom_data";a:0:{}s:13:" * contact_id";s:6:"157493";s:10:" * trigger";O:33:"CRM_CivirulesPostTrigger_Activity":7:{s:9:" * ruleId";s:2:"48";s:12:" * triggerId";s:1:"1";s:16:" * triggerParams";a:1:{s:11:"record_type";s:1:"3";}s:12:" * ruleTitle";N;s:19:" * ruleDebugEnabled";s:1:"0";s:13:" * objectName";s:8:"Activity";s:5:" * op";s:6:"create";}s:15:" * originalData";a:0:{}s:18:"isDelayedExecution";b:1;s:21:"delayedSubmitDateTime";s:14:"20240425140559";}s:14:" * actionClass";O:33:"CRM_Emailapi_CivirulesAction_Send":3:{s:13:" * ruleAction";a:7:{s:2:"id";s:2:"57";s:7:"rule_id";s:2:"48";s:9:"action_id";s:2:"47";s:13:"action_params";s:273:"a:10:{s:9:"from_name";s:0:"";s:10:"from_email";s:0:"";s:11:"template_id";s:2:"83";s:14:"disable_smarty";b:0;s:16:"location_type_id";s:0:"";s:17:"from_email_option";s:1:"7";s:28:"alternative_receiver_address";s:0:"";s:2:"cc";s:0:"";s:3:"bcc";s:0:"";s:12:"file_on_case";b:0;}";s:5:"delay";s:65:"O:25:"CRM_Civirules_Delay_XDays":1:{s:12:" * dayOffset";s:1:"1";}";s:27:"ignore_condition_with_delay";s:1:"0";s:9:"is_active";s:1:"1";}s:9:" * action";a:5:{s:2:"id";s:2:"47";s:4:"name";s:13:"emailapi_send";s:5:"label";s:10:"Send Email";s:10:"class_name";s:33:"CRM_Emailapi_CivirulesAction_Send";s:9:"is_active";s:1:"1";}s:44:" CRM_CivirulesActions_Generic_Api apiVersion";i:3;}}}s:5:"title";N;s:5:"runAs";N;}