Issue with adding Process Handler - "Internal server error"

I have also come across this post detailing a similar problem but adapting the solution hasn’t worked. Based on the code I believe that suitecrm somehow doesn’t find my processhandler