Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » Fatal error: Class 'FieldSet' not found translation and weather widgets

Discuss SilverStripe Widgets.

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

Page: 1
Go to End
Author Topic: 773 Views
  • superk
    Avatar
    Community Member
    2 Posts

    Fatal error: Class 'FieldSet' not found translation and weather widgets Link to this post

    Hi

    I wanted to create a subclass of the weather widget. But I can't seem to be able to install it properly

    My distribution is SilverStripe 3.1.2
    And using the Simpli theme

    I installed the distribution using composer, same did with the widgets and the translator modules.
    The GoogleWeather widget was installed manually

    When I go to the Widgets tab on the home page (admin area) I click on the '+ symbol to add the widget, I get the following error

    Fatal error: Class 'FieldSet' not found in /www/fire.weather-it-is.com/widgets_GoogleWeather/GoogleWeatherWidget.php on line 83

    Same goes when I try to add the language chooser

    Fatal error: Class 'FieldSet' not found in /www/fire.weather-it-is.com/widgets_languagechooser/LanguageChooser.php on line 11

    I can locate the FieldSet and FieldList functions inside

    I appreciate any help

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Fatal error: Class 'FieldSet' not found translation and weather widgets Link to this post

    FieldSet doesn't exist in 3.1, it has been replaced by FieldList. Those widgets probably haven't been updated for 3.1 support.

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