I have commented out all the form building and left only the title code and same error. I have even added another method on another page with the following code:
Code:
$mysidia = Registry::get("mysidia");
$document = $mysidia->frame->getDocument();
$document->setTitle("TEST");
I then try to access it like mysite.com/adminacp/image/add and it errors.
But if i go to mysite.com/adminacp/image/upload it will work.
Every time I think I figure it out. It doesn't want to work. It is starting to get very frustrating.