bug in dbtree.php

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2008, 02:48 PM
New Pligger
Pligg Version: 9.8
Pligg Template: 9.8
 
Join Date: Jan 2008
Posts: 2
In demo.pligg.com, click technology under categories, following error appears:

Cannot use object of type stdClass as array in /home/pligg/public_html/demo01/libs/dbtree.php on line 39
Reply With Quote
  #2 (permalink)  
Old 03-08-2008, 02:55 PM
grusha's Avatar
Pligg Donor/Coder/Designer
 
Join Date: Jul 2007
Posts: 221
Quote:
Originally Posted by xyll2000 View Post
In demo.pligg.com, click technology under categories, following error appears:

Cannot use object of type stdClass as array in /home/pligg/public_html/demo01/libs/dbtree.php on line 39
Line 39 change

$child_array[] = $row['category__auto_id'];

to

$child_array[] = $row->category__auto_id;
Reply With Quote
  #3 (permalink)  
Old 04-13-2008, 07:26 PM
New Pligger
 
Join Date: Nov 2006
Posts: 20
Thank you very much, grusha. Glad to be a member of your template club. Always very helpful.
Reply With Quote
  #4 (permalink)  
Old 05-04-2008, 11:31 PM
Casual Pligger
Pligg Version: 9.9.
 
Join Date: May 2008
Posts: 43
Thanks Grusha, that was doing my head in... cheers
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to a member function on a non-object in dbtree.php on line 34 trh792 Questions and Comments 4 11-30-2007 07:40 PM
Installation problem Pligg 9.0 Dubai Questions and Comments 25 10-05-2007 08:42 AM
dbtree.php - Remove tree_to_array2 function? MicroBerto Questions and Comments 1 09-19-2007 07:30 PM
[Fixed] DBTree.php : Database Connectivity parterburn Questions and Comments 2 09-17-2007 01:45 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development