1043 Posts in 379 Topics by 373 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 531 Views |
-
silverstripe-memberprofiles with SS3

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() {
-
Re: silverstripe-memberprofiles with SS3

12 June 2012 at 12:37am
I did replace DataObjectDecorator to DataExtension but I still got the same error
-
Re: silverstripe-memberprofiles with SS3

25 June 2012 at 1:28pm
You don't need to set the extrastatics stuff any more, set $db directly.
Read here: http://doc.silverstripe.org/framework/en/trunk/changelogs/3.0.0
| 531 Views | ||
|
Page:
1
|
Go to Top |


