[PHPTAL] Bug: PHP Warning if template hasn't been parsed yet
Kornel Lesinski
kornel at aardvarkmedia.co.uk
Tue Jan 29 15:01:22 CET 2008
On 29 Jan 2008, at 13:33, der-fette-mo at diplomtrottel.de wrote:
> After upgrading to 1.1.10, I always get a PHP warning when a new
> template is being parsed.
>
> Warning: Invalid argument supplied for foreach() in /srv/www/httpd/
> phost/d/de/pytalhost/diplomtrottel/web/Include/class.PHPTAL.php on
> line 378
Thanks. I've found the bug and fix it in next release.
For now, if you don't use the new phptal:cache, you can simply delete
the offending foreach() loop starting in line 378.
--
regards, Kornel
More information about the PHPTAL
mailing list