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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

Fatal error installing DOM on SS3 [solved]


Go to End


3 Posts   2146 Views

Avatar
Tim_Donaldson

Community Member, 9 Posts

2 August 2012 at 10:42pm

I've uploaded Data Object Manager but when I try to build my database I get a host of errors:

Strict Standards: Declaration of DataObjectManager::FieldHolder() should be compatible with that of ComplexTableField::FieldHolder() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 4

Strict Standards: Declaration of DataObjectManager_Item::Link() should be compatible with that of ComplexTableField_Item::Link() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_Item::Fields() should be compatible with that of TableListField_Item::Fields() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_ItemRequest::Link() should be compatible with that of ComplexTableField_ItemRequest::Link() in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 919

Strict Standards: Declaration of AssetManagerFolder::updateCMSFields() should be compatible with that of DataExtension::updateCMSFields() in host/silverstripe3/dataobject_manager/code/AssetManagerFolder.php on line 4

Fatal error: Class 'SortableDataObject' not found in host/silverstripe3/dataobject_manager/code/DataObjectManager.php on line 64

Any idea where I've gone wrong?

Avatar
copernican

Community Member, 189 Posts

2 August 2012 at 11:53pm

DOM is no longer compatible/recommend for use in SS3.0. I think UncleCheese may have updated it to work in 3 (check github) but otherwise you should now be using gridField instead of DOM for your relationship management.

Avatar
Tim_Donaldson

Community Member, 9 Posts

3 August 2012 at 10:11am

Fantastic, thanks!