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.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

silverstripe-memberprofiles with SS3

Go to End

3 Posts   1443 Views


Community Member, 19 Posts

12 June 2012 at 12:17am

Hi All,

I am getting an error with SS3 with the silverstripe-memberprofiles module. I think it's a compatibility issue but I don't know what to update in the code.

Strict Standards: Declaration of MemberProfileExtension::extraStatics() should be compatible with that of DataExtension::extraStatics() in /Applications/MAMP/htdocs/xxxx/silverstripe-memberprofiles/code/extensions/MemberProfileExtension.php on line 8

Strict Standards: Declaration of MemberProfileExtension::updateCMSFields() should be compatible with that of DataExtension::updateCMSFields() in /Applications/MAMP/htdocs/xxxx/silverstripe-memberprofiles/code/extensions/MemberProfileExtension.php on line 8

here is the line

line 8: class MemberProfileExtension extends DataObjectDecorator {

	public function extraStatics() {


Community Member, 19 Posts

12 June 2012 at 12:37am

I did replace DataObjectDecorator to DataExtension but I still got the same error

Rob Clarkson

Community Member, 26 Posts

25 June 2012 at 1:28pm

You don't need to set the extrastatics stuff any more, set $db directly.

Read here: