I am trying to write a PHP script for a scripted task in Processmaker 4. All the documentation and videos I have seen state that if you press the run button it should run the script an display the output, but when I run it, I can see the docker container being created, running and then disappearing but no output is displayed in the Processmaker Script Editor. It seems like the editor never really realizes that the script has fished executing. The Run buttone remains dissabled so I can not run the script again, no output appears in the output section of the editor, and I get a rotating progress icon in the lower right corner of the editor (see screen capture with comments).
Any suggestion of what might be wrong?