Hey UncleCheese,
I'm getting this same error in a piece of my own code. What did you need to change in Event Calendar to fix it in 2.3.2?
Cheers
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Hey UncleCheese,
I'm getting this same error in a piece of my own code. What did you need to change in Event Calendar to fix it in 2.3.2?
Cheers
Hmm... as I remember if you're decorating a non-dataobject, you have to be sure of two things:
- The decorator is added with Object::add_extension, and not DataObject::add_extension
- The decorating class subclasses Extension and not DataObjectDecorator