[Solar-talk] session warrnings
Paul M Jones
pmjones at solarphp.com
Thu Mar 29 11:47:34 PDT 2007
On Mar 29, 2007, at 11:42 AM, Jeff Surgeson wrote:
> Is this me or Solar? (svn)
>
> I haven't update my Solar svn for a few days, did not do it before
> just
> started tonight when I updated. I cant find anything I have done or
> any
> difference with these 2 Solar files.
>
> Any Ideas?
>
> Notice: Uninitialized string offset: 0
> in /var/www/localhost/htdocs/libsvn/Solar/Class/Stack.php on line 165
The line in question is the last one listed here:
public function load($name, $throw = true)
{
// some preliminary checks for valid class names
if ($name != trim($name) || ! ctype_alpha($name[0])) {
Hm ... are you passing an empty name, by chance? That would make it
Solar's problem, it shouldn't accept empty names. I'll fix that;
thanks.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list