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.

Installing SilverStripe /

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

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

SilverStripe-v2.4.0-beta1 and subsites module


Go to End


2 Posts   1977 Views

Avatar
hopey

Community Member, 4 Posts

23 February 2010 at 11:39pm

Hi, I don't seem to be able to install subsites module with SS2.4. What are the plans to make subsites available to SS2.4? Will it be core functionality or a separate module? Here is the error message I'm getting, in case someone out there would like to help ;)

Line 53 in sapphire/core/model/DataObjectDecorator.php

44 	 * @param string $class Class name of the owner class (or owner base class)
45 	 * @param string $extension Class name of the extension class
46 	 */
47 	public static function load_extra_statics($class, $extension) {
48 		if(!empty(self::$extra_statics_loaded[$class][$extension])) return;
49 		self::$extra_statics_loaded[$class][$extension] = true;
50 		
51 		// @deprecated 2.4 - use extraStatics() now, not extraDBFields()
52 		if(method_exists($extension, 'extraDBFields')) {
53 			user_error('DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead.', E_USER_NOTICE); 
54 			$extraStaticsMethod = 'extraDBFields';
55 		} else {
56 			$extraStaticsMethod = 'extraStatics';
57 		}
58 		
59 		// If the extension has been manually applied to a subclass, we should ignore that.

Avatar
hopey

Community Member, 4 Posts

24 February 2010 at 12:21am

Might be that the error message doesn't have much to do with subsites module.