Re: DB_NestedSet: Fatal error: createSubNode(): Node Object not found

From: Date: Mon, 14 Mar 2005 15:15:31 +0000
Subject: Re: DB_NestedSet: Fatal error: createSubNode(): Node Object not found
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36674@lists.php.net to get a copy of this message
Here you go, Daniel: array(1) { [0]=> array(8) {
    ["id"]=>
    string(1) "0"
    ["rootid"]=>
    string(1) "0"
    ["l"]=>
    string(1) "1"
    ["r"]=>
    string(1) "2"
    ["norder"]=>
    string(1) "1"
    ["level"]=>
    string(1) "1"
    ["name"]=>
    string(4) "Menu"
    ["url"]=>
    string(12) "Example Menu"
} } Warning: Illegal offset type in /usr/lib/php/DB/NestedSet.php on line 865 Fatal error: createSubNode(): Node Object not found in /usr/lib/php/PEAR.php on line 843 Will Killian http://fishingworld.com 903.882.8877 903.882.3110 fax On Mar 11, 2005, at 4:29 PM, Daniel Khan wrote:
Will wrote: Please send me the contents of _LINE 864_ of
/usr/lib/php/DB/NestedSet.php +/- 10 lines.
Something looks wrong here.... I can't find that line in my version..
line 864 is the closing curly bracket for this function:
Please add before the end (return) of this function @line 862 var_dump($nodeSet); and send the output to me. Thanks! -- Daniel Khan


« previous php.pear.dev (#36674) next »