Hi there,
I’m upgrading a Concrete5 site (previously v8.3.2) to ConcreteCMS (v9.1.1). The upgrade has worked almost flawlessly, but I’m unable to access the Dashboard Single Pages from Packages developed pre v9. It throws an error:
Call to a member function get() on null
for the line:
$_breadcrumb = $this->elementManager->get($this->getBreadcrumbElement(), [
'breadcrumb' => $breadcrumb
]);
in file: siteroot/updates/concrete-cms-9.1.1-remote-updater/concrete/src/Page/Controller/DashboardPageController.php
So for some reason elementManager is null for $this when running through the on_before_render() function. I have tried adding ElementManager to the controllers (use Concrete\Core\Filesystem\ElementManager;) but it’s still throwing the error and I don’t know where to start trying to fix it.
Hope someone can help.