Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Forum Trunk Fatal Error on Edit


Reply

4 Posts   1475 Views

Avatar
Blackdog

17 October 2008 at 12:50pm Community Member, 156 Posts

Hi,

has anyone got a fix for the Fatal Error on that latest Trunk version of the Forum module?

I am getting the following

FATAL ERROR: DataObjectSet::__construct: Passed item #4 is not an object or associative array, can't be properly iterated on in templates

Debug is showing

items = TextField (Title: Title : ) = tst
itemsArr =
0 = TextField (Title: Title : ) = tst
1 = TextareaField (Content: Content : ) = test
2 = LiteralField (BBCodeHelper: BBCodeHelper : ) =
3 = CheckboxField (TopicSubscription: Subscribe to this topic (Receive email notifications when a new reply is added) : ) =
4 =

5 = LiteralField (CurrentAttachments: CurrentAttachments : ) =
6 = HiddenField (ID: ID : ) = 1
item =

i =
4

Avatar
Blackdog

17 October 2008 at 1:24pm Community Member, 156 Posts

nevermind, I commented out the upload form and it was find.

Avatar
Willr

17 October 2008 at 6:38pm Forum Moderator, 5511 Posts

Hmm how did you come across that error?

Avatar
Blackdog

18 October 2008 at 12:11am Community Member, 156 Posts

just installed it and when you go to edit your posts it throws a fatal error.

I hadn't changed anything, that was fresh off the trunk.

SS 2.2.2 stable and Forum Trunk.