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'])
)

Binance clone is the ready-to-go online solution t[…]

🚨 Verpassen Sie nicht die neueste Kryptowähru[…]

In the realm of digital assets, STO(Security Token[…]

It is a must-read for anyone looking to make a sea[…]