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

SilverStripe-v2.4.0-beta1 and subsites module


2 Posts   1524 Views


23 February 2010 at 11:39pm Community Member, 4 Posts

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;
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       }
59       // If the extension has been manually applied to a subclass, we should ignore that.


24 February 2010 at 12:21am Community Member, 4 Posts

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