FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Registered users change view and get error message ("Flat topic listing/Tree message listing" vs "Flat View message and topic listing")
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Return to the default flat view Create a new topic Submit Reply
Registered users change view and get error message [message #185403] Wed, 26 March 2014 11:03 Go to previous message
FirstWizard is currently offline  FirstWizard   United States
Messages: 7
Registered: March 2014
Karma:
Junior Member
add to buddy list
ignore all messages by this user
I am a newbie at operating FUDforum and we really like it. I am not a programmer and need some assistance please.
We run a site with all forums moderated using the default theme. About the only thing that has been changed in the theme is the welcome banner.

If a registered user goes to Control Panel > Account Settings > Default Topic View: and selects "Flat topic listing/Tree message listing" instead of the default of "Flat View message and topic listing" everything seems to work but these messages appear at the top of the page, above the welcome banner:
Notice: Undefined property: stdClass::$kiddie_count in C:\xampp\htdocs\theme\default\tree.php on line 1039
Notice: Undefined property: stdClass::$kiddie_count in C:\xampp\htdocs\theme\default\tree.php on line 1036

If they change it back, the error goes away.
From the admin pages, there is nothing in the error logs.

Lines 1035-1042 from tree.php
		
		if ($r->reply_to > 0) {
			$arr[$r->reply_to]->kiddie_count++;
			$arr[$r->reply_to]->kiddies[] = &$arr[$r->id];
		} else 	if ($r->reply_to == 0) {
			$tree->kiddie_count++;
			$tree->kiddies[] = &$arr[$r->id];
		}
	}


Can anyone recommend corrective action?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NNTP import fails with charset issue
Next Topic: error message
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 14 16:07:20 EST 2017

Total time taken to generate the page: 0.00708 seconds