Re: Notice: Undefined variable: tplData in includes/xarTemplate.php on line 1056
mikespub <[email protected]> Fri, 02 May 2008 01:01:16 +0200
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Andreas Nyback wrote: > Yes, php 5.2.5 and above seams to cause this in xaraya... > i heard that other php applications also could have issues with 5.2.5 > and above so probably something must e fixed in xaraya. > ... In the meantime, you can adapt your config.system.php file to ignore Notices like this : $systemConfiguration['Exception.ErrorLevel'] = E_ALL ^ E_NOTICE; instead of $systemConfiguration['Exception.ErrorLevel'] = E_ALL; (or whatever setting you're using) Not sure why the $tplData variable would suddenly be undefined though, or why the assert(is_array($tplData)... doesn't give you an exception either :-) I'm running xaraya 1.x and 2.x with PHP 5.2.5 on Windows without any of those problems... Mike.