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

If you want to know the best technique to export P[…]

Nursing dissertation help topics

Home of Dissertations is the most used platform th[…]

A Dream11 clone script is a pre-made software solu[…]

A stake clone script is a pre-designed, error-free[…]