Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog strange error with ss 2.2.2-rc5

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: 1950 Views
  • karibe
    Avatar
    Community Member
    56 Posts

    Blog strange error with ss 2.2.2-rc5 Link to this post

    Hello

    I have strange error with blog module and my site.
    I'm using it to display news entries on home page, but from some time when I'm trying to click BlogHolder (Home) for blog news entries I'm getting js allert "There has been an error" and on my bugs email:

    Error: collateDataFields() I noticed that a field called 'SideBar' appears twice in your form: 'Form_EditForm'. One is a 'WidgetAreaEditor' and the other is a 'WidgetAreaEditor'
    At line 117 in /home/mysite/sapphire/forms/CompositeField.php

    and in content:

    user_error(collateDataFields() I noticed that a field called 'SideBar' appears twice in your form: 'Form_EditForm'. One is a 'WidgetAreaEditor' and the other is a 'WidgetAreaEditor',256) line 117 of CompositeField.php CompositeField->collateDataFields(Array) line 112 of CompositeField.php CompositeField->collateDataFields(Array) line 112 of CompositeField.php CompositeField->collateDataFields(Array) line 29 of FieldSet.php FieldSet->collateDataFields(Array) line 22 of FieldSet.php FieldSet->dataFields() line 517 of Form.php Form->loadDataFrom(BlogHolder) line 414 of CMSMain.php CMSMain->getEditForm(91) line 752 of LeftAndMain.php LeftAndMain->EditForm() line 227 of LeftAndMain.php LeftAndMain->getitem(Array) line 261 of Controller.php Controller->run(Array) line 104 of Director.php Director::direct(admin/getitem) line 158 of main.php

    When I click old blog entries in front page I'm getting blank page without error notices...

    Please help...

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Blog strange error with ss 2.2.2-rc5 Link to this post

    have you got a SideBar defined on Page as well as the BlogHolder? or on anyother class?

  • karibe
    Avatar
    Community Member
    56 Posts

    Re: Blog strange error with ss 2.2.2-rc5 Link to this post

    yES i HAD:)

    Now works fine, thanks

  • karibe
    Avatar
    Community Member
    56 Posts

    Re: Blog strange error with ss 2.2.2-rc5 Link to this post

    New problem is that when I'm trying to read BlogEntry page i'm getting empty page....

    Same with final 2.2.2

    1950 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.