First off, thanks for all the good work!
I have a phalcon app that ran smoothly under 0.9.0 but crashes with "Premature end of script" since I upgraded to version 1.1.0.
I narrowed the issue down to this: In the controller (say, UserController / indexAction)
$this->view->setVar('e', new \Phalcon\Escaper);
And in the view views/user/index.phtml:
It's when calling the escapeHtml() method that I get the error. I only changed the Phalcon version, nothing else...
I tried this as well in the controller but to no avail:
$e = new \Phalcon\Escaper; $e->setEncoding('utf-8'); $this->view->setVar('e', $e);
Any ideas anyone?
Also, I couldn't find any document regarding compatibility breaks between versions, so if you can point me to one that'd be nice.