I am upgrading a web application from silverstripe-3 to silverstripe-4. This application was framework only, no CMS is needed.
In the new application when I log in I get this error:
# [Emergency] Uncaught InvalidArgumentException: Page is not a subclass of DataObject
After adding a dummy
Page object, just to make it happy, I get another error:
# [Emergency] Uncaught Error: Class 'SilverStripe\CMS\Controllers\ModelAsController' not found
A quick look to the Security class shows some nasty dependency between framework and cms. I remember in the past a lot of effort had been put to decouple them… it seems odd this is gone, dead and buried.
Any solution that does not involve importing
silverstripe-cms? Is this issue confined to the