- Mon Apr 08, 2019 11:41 pm
#823854
I got error message : Fatal error in trigger after click 'continue' to the next user. I checked the error log and found this error
syntax error, unexpected '}' in /opt/processmaker/workflow/engine/classes/class.pmScript.php(216) : eval()'d code on line 9,
and
PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0,
and here the code for that line
public function executeAndCatchErrors($sScript, $sCode)
{
ob_start('handleFatalErrors');
set_error_handler('handleErrors');
$_SESSION['_CODE_'] = $sCode;
eval($sScript );
$this->evaluateVariable();
unset( $_SESSION['_CODE_'] );
ob_end_flush();
}
I am using ProcessMaker Ver 3.1.3.-community. Thanks for the help.
syntax error, unexpected '}' in /opt/processmaker/workflow/engine/classes/class.pmScript.php(216) : eval()'d code on line 9,
and
PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0,
and here the code for that line
public function executeAndCatchErrors($sScript, $sCode)
{
ob_start('handleFatalErrors');
set_error_handler('handleErrors');
$_SESSION['_CODE_'] = $sCode;
eval($sScript );
$this->evaluateVariable();
unset( $_SESSION['_CODE_'] );
ob_end_flush();
}
I am using ProcessMaker Ver 3.1.3.-community. Thanks for the help.