Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Forum Trunk Fatal Error on Edit

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

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

Page: 1
Go to End
Author Topic: 1451 Views
  • Blackdog
    Avatar
    Community Member
    156 Posts

    Forum Trunk Fatal Error on Edit Link to this post

    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

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: Forum Trunk Fatal Error on Edit Link to this post

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

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Forum Trunk Fatal Error on Edit Link to this post

    Hmm how did you come across that error?

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: Forum Trunk Fatal Error on Edit Link to this post

    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.

    1451 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.