in the document of version 3 we use this code for add objet to siteConfig:
Object::add_extension('SiteConfig', 'MySiteConfig');
https://docs.silverstripe.org/en/3.0/reference/siteconfig/
im using this for 3 years but today im updating to latest version and im see this error:
Fatal error : Uncaught Error: Class ‘Object’ not found in
how can i fix this?