hey, i tried to install the event calendar module on the 2.3.2 rc1 version of silverstripe.
after uploading and running dev/build, i get this error page:
[User Error] DataObjectDecorator->setOwner(): Trying to decorate an object of class 'CMSMain' with 'CalendarScriptInit', only Dataobject subclasses are supported.
GET /admin/
Line 41 in /var/www/vhosts/domain/httpdocs/sapphire/core/model/DataObjectDecorator.php
Source
32 * @param DataObject $owner
33 */
34 function setOwner(Object $owner) {
35 if(!($owner instanceof DataObject)) {
36 user_error(sprintf(
37 "DataObjectDecorator->setOwner(): Trying to decorate an object of class '%s' with '%s',
38 only Dataobject subclasses are supported.",
39 get_class($owner), $this->class),
40 E_USER_ERROR
41 );
42 return false;
43 }
44
45 parent::setOwner($owner);
46 }
47
Trace
* DataObjectDecorator->setOwner(): Trying to decorate an object of class 'CMSMain' with 'CalendarScriptInit', only Dataobject subclasses are supported.
Line 41 of DataObjectDecorator.php
* DataObjectDecorator->setOwner(CMSMain)
Line 456 of Object.php
* Object->__construct()
Line 74 of RequestHandler.php
* RequestHandler->__construct()
Line 274 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/)
Line 118 of main.php
someone knows more about`?