Thread:Project:Support desk/Call to a member function addMessage() on a non-object/reply (3)

It would help to have a stack trace for that error. That will show what was called before this error happened. Configure PHP so that it outputs a stacktrace or writes it to error log and then produce the error again!