-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I experienced the following fatal error when using PHPTAL on php 5.3.x today:
Fatal error: Your exception class uses incorrect types for common properties: 'message' and 'file' need to be a string and 'line' needs to be an integer. in vendor/PHPTAL.php on line 778 Call Stack #TimeMemoryFunctionLocation Solution: Index: ../vendor/PHPTAL.php =================================================================== - --- ../vendor/PHPTAL.php (revision 6154) +++ ../vendor/PHPTAL.php (working copy) @@ -773,7 +773,7 @@ } catch(PHPTAL_TemplateException $e) { - - $e->hintSrcPosition($tpl->_context->_file.'/'.$macroName, $tpl->_context->_line); + $e->hintSrcPosition($tpl->_context->_file.'/'.$macroName, (int) $tpl->_context->_line); $this->_context->_file = $currentFile; throw $e; } Kind regards, hope the patch is usefull. Tarjei Huse -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAky+9lcACgkQYVRKCnSvzfJBpgCfULdUszRj+XcTk/VnhbMYXERQ bh0AoKeY5ocqgLgYNUvF3pFzlMcczYsr =rX+l -----END PGP SIGNATURE----- _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal