Questions and discussion about using ProcessMaker 2: user interface, running cases and functionality
Forum rules: Please search to see if a question has already been asked before posting. Please don't ask the same question in multiple forums.
By Chalyn
#788088
Hi All,

I have an approval-based workflow. And it's been up for more than a year already.
But, now, when I submit/approve something, it gives out an error:
Fatal error: Cannot use object of type wsResponse as array in /mnt/DATA/WEBROOT/processmaker/workflow/engine/classes/class.pmFunctions.php on line 1980

With this, nothing is updated. It updates the status in App_delegation to Closed, but, no movement has been made, the index is not updated, and it is not pushed to the next form.

No updates has been made.

Is there something I could do to eliminate this error?

Thanks!
User avatar
By amosbatto
#788089
Did you update PM to a new version? Did you update PHP?
Check to see that there is still disk space on the partition where the MySQL database is installed.
What version of PM are you using?

Can you post line 1980 of your /mnt/DATA/WEBROOT/processmaker/workflow/engine/classes/class.pmFunctions.php file?
By Chalyn
#788094
Hi,

We are using the 2.4.2 version.
There's still 80% available in our disk space.
And, we did not update the PHP.


Line 1980 in the said code is below:
return $result['status_code'};

Thanks!
User avatar
By amosbatto
#788121
I don't have version 2.4.2 installed to check this, but that line of code is incorrect. It should be:
Code: Select all
return $result['status_code'];
It should have a square bracket, not a curly bracket at the end. Maybe that is your problem.
By Chalyn
#789256
Hi All,

We are still experiencing this. Is there a way to fix this?

Thanks!

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]

A Bet365 Clone Script is essentially a ready-made […]