Error on Concrete CMS 9.1.3

Permalink Browser Info Environment
After updateing to CMS 9.1.3, we get the following error:

/webdata/ecc-hsk/concrete/src/Page/Controller/DashboardPageController.php
{
return 'dashboard/navigation/breadcrumb';
}

/**
* {@inheritdoc}
*
* @see \Concrete\Core\Controller\AbstractController::on_before_render()
*/
public function on_before_render()
{
$pageTitle = $this->get('pageTitle');
if (!$pageTitle) {
$this->set('pageTitle', t($this->c->getCollectionName()));
}
$breadcrumb = $this->getBreadcrumb();
if (!$breadcrumb) {
$breadcrumb = $this->createBreadcrumb();
}
$_breadcrumb = $this->elementManager->get($this->getBreadcrumbElement(), [
'breadcrumb' => $breadcrumb
]);

$dbConfig = $this->app->make('config/database');
$this->set('showPrivacyPolicyNotice', !$dbConfig->get('app.privacy_policy_accepted'));
$this->set('token', $this->token);
$this->set('error', $this->error);
$this->set('_breadcrumb', $_breadcrumb);
}

/**
* Get the EntityManager instance (available after the on_start method has been called).
*
* @return \Doctrine\ORM\EntityManagerInterface|null
*/
public function getEntityManager()
{
return $this->entityManager;
}

Arguments
"Call to a member function get() on null"

Can you provide a bugfix on this?

Type: Pre-Sale
Status: Resolved
dbleisch
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

This should now be fixed. Please use version 0.9.6 to have this working on version 9!

Kind regards
Ramon
dbleisch replied on at Permalink Reply
dbleisch
Thanks alot!

When filtering without «trash» i get this error ...

Doctrine \ DBAL \ Exception \ InvalidFieldNameException
An exception occurred while executing 'SELECT p.cID FROM Pages p LEFT JOIN PageSearchIndex psi ON p.cID = psi.cID LEFT JOIN PageTypes pt ON p.ptID = pt.ptID INNER JOIN Collections c ON p.cID = c.cID INNER JOIN CollectionVersions cv ON p.cID = cv.cID LEFT JOIN CollectionSearchIndexAttributes csi ON c.cID = csi.cID WHERE (p.cID IN(2488,2200,886,550,2412,2042,2301,2303,2302,2195,2018,1678,1187,2175,1688,2181,2899,2015,2637,2773,1941,2429,2434,2769,2778,2929)) AND ((pp.cPath NOT LIKE "%/!trash%" OR pp.cPath IS NULL)) AND (p.cPointerID < 1) AND (p.cIsTemplate = 0) AND (cv.cvID = (select max(cvID) from CollectionVersions where cID = cv.cID)) ORDER BY p.cDisplayOrder asc LIMIT 10': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pp.cPath' in 'where clause'
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

This is now fixed in version 0.9.7 and backwards compatible with ConcreteCMS version 8 and below too. Apparently they made a change in version 9, which broke this part...

Kind regards
Ramon
dbleisch replied on at Permalink Reply
dbleisch
Thanks alot!

concrete5 Environment Information

# Environment
production

# Database Information
Version: 8.0.32-0ubuntu0.20.04.2

# Concrete Packages
Easy Rate (1.2.2), Pending Pages (0.9.4),Video Pro (1.0.0)

# Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.4.33

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.