Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#830404
I was getting a similar error in my instance of 3.5.7 Community. I rewrote the statement to check that the objectPermissions index existed before doing the check against it.

if (
isset($fieldsProcess['PRO_DYNAFORMS']['PROCESS']) &&
!empty($fieldsProcess['PRO_DYNAFORMS']['PROCESS']) &&
$userCanAccess['objectPermissions']['SUMMARY_FORM'] &&
$objProc->isBpmnProcess($fieldsCase['PRO_UID'])
)

Became

if (
isset($fieldsProcess['PRO_DYNAFORMS']['PROCESS']) &&
!empty($fieldsProcess['PRO_DYNAFORMS']['PROCESS']) &&
(isset($userCanAccess['objectPermissions']['SUMMARY_FORM']) && $userCanAccess['objectPermissions']['SUMMARY_FORM']) &&
$objProc->isBpmnProcess($fieldsCase['PRO_UID'])
)

In 2024, NFT businesses are in the hype because mi[…]

A Pancakeswap clone is a Decentralized Finance(DeF[…]

Action RPGs have noticed a resurgence lately with […]

The Metamorph league was introduced with the Conqu[…]