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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Error Message shown in every page after change the hosting.


Reply


3 Posts   2181 Views

Avatar
AhYap

Community Member, 12 Posts

23 June 2013 at 2:26pm

HI, i'm recently change the hosting of the my website, and afterthat i found out that each and everypage of my website (silverstripe) got bunch of error msg. Pls Kindly Help

Strict Standards: Declaration of AssetAdmin::getsubtree() should be compatible with LeftAndMain::getsubtree($request) in /home/irscomy1/public_html/cms/code/AssetAdmin.php on line 790

Strict Standards: Declaration of CMSMain::getRecord() should be compatible with LeftAndMain::getRecord($id, $className = NULL) in /home/irscomy1/public_html/cms/code/CMSMain.php on line 11

Strict Standards: Declaration of ReportAdmin::show() should be compatible with LeftAndMain::show() in /home/irscomy1/public_html/cms/code/ReportAdmin.php on line 209

Strict Standards: Declaration of SS_ReportWrapper::canView() should be compatible with SS_Report::canView($member = NULL) in /home/irscomy1/public_html/cms/code/Report.php on line 518

Strict Standards: Declaration of SS_Report_FakeQuery::unlimitedRowCount() should be compatible with SQLQuery::unlimitedRowCount($column = NULL) in /home/irscomy1/public_html/cms/code/Report.php on line 362

Strict Standards: Declaration of DataObjectManager_Item::Link() should be compatible with TableListField_Item::Link($action = NULL) in /home/irscomy1/public_html/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_Item::Fields() should be compatible with TableListField_Item::Fields($xmlSafe = true) in /home/irscomy1/public_html/dataobject_manager/code/DataObjectManager.php on line 648

Strict Standards: Declaration of DataObjectManager_ItemRequest::Link() should be compatible with TableListField_ItemRequest::Link() in /home/irscomy1/public_html/dataobject_manager/code/DataObjectManager.php on line 919

Strict Standards: Declaration of AssetManagerFolder::updateCMSFields() should be compatible with DataObjectDecorator::updateCMSFields(FieldSet &$fields) in /home/irscomy1/public_html/dataobject_manager/code/AssetManagerFolder.php on line 4

Strict Standards: Declaration of File::flushCache() should be compatible with DataObject::flushCache($persistant = true) in /home/irscomy1/public_html/sapphire/filesystem/File.php on line 832

Strict Standards: Declaration of Folder::getCMSFields() should be compatible with DataObject::getCMSFields($params = NULL) in /home/irscomy1/public_html/sapphire/filesystem/Folder.php on line 20

Strict Standards: Declaration of CompositeField::performDisabledTransformation() should be compatible with FormField::performDisabledTransformation() in /home/irscomy1/public_html/sapphire/forms/CompositeField.php on line 314

Strict Standards: Declaration of CompositeField::validate() should be compatible with FormField::validate() in /home/irscomy1/public_html/sapphire/forms/CompositeField.php on line 314

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Hierarchy::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method AssetManagerFolder::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method SortableDataObject::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: Declaration of GoogleSitemapDecorator::onAfterPublish() should be compatible with SiteTreeDecorator::onAfterPublish(&$original) in /home/irscomy1/public_html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9

Strict Standards: Declaration of GoogleSitemapDecorator::updateCMSFields() should be compatible with DataObjectDecorator::updateCMSFields(FieldSet &$fields) in /home/irscomy1/public_html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9

Strict Standards: Declaration of SiteTree::getCMSFields() should be compatible with DataObject::getCMSFields($params = NULL) in /home/irscomy1/public_html/sapphire/core/model/SiteTree.php on line 10

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Hierarchy::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Versioned::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method GoogleSitemapDecorator::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: Declaration of ImageGalleryItem::canDelete() should be compatible with DataObject::canDelete($member = NULL) in /home/irscomy1/public_html/image_gallery/code/ImageGalleryItem.php on line 93

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method SortableDataObject::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method SortableDataObject::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method ImageGallerySiteTree::extraStatics() should not be called statically in /home/irscomy1/public_html/sapphire/core/model/DataObjectDecorator.php on line 69

Avatar
AhYap

Community Member, 12 Posts

23 June 2013 at 2:30pm

and I'm using silverstripe version 2.4.5

Avatar
Devlin

Community Member, 217 Posts

24 June 2013 at 8:10pm

Edited: 24/06/2013 8:10pm

In PHP 5.3 "Deprecation notices are now handled via E_DEPRECATED (part of E_ALL) instead of the E_STRICT error level."

I don't think these deprecation messages will be fixed in 2.4.

You can suppress these warning with a update to 2.4.10 (or latest 2.4 branch from github) or change line 41 of sapphire/core.php to

if(defined('E_DEPRECATED')) error_reporting(E_ALL & ~(E_DEPRECATED | E_STRICT));