Ok, I see... ehh, you're doing yours a bit different than mine, but I think I might know how to get ride of the error... I don't know if this will work, but can you try displaying the message as a variable and then something like: $document->add(new Comment($message)); But then, wouldn't you have to add the document variable somewhere above. :L I think what you're doing is getting the already-clicked levelup exeption(something like that right) to return the stats. Maybe it's possible to change that title in a different file?