[Notice] Trying to get property of non-object

GET /browse-equipment/all-categories/used/all-industries/Rotary-Cutter/all-makes/all-models

Line 1341 in D:\Inetpub\CMSSITES\lawsonimplement.com\ELS-MSSQL-SilverStripe\code\ElsApiBrowseController.php

Source

1332 		$criteria->orderBy = "Year asc, ETypeID, MakeName, ModelName, Price desc";
1333 
1334         if(!$this->Is404Page) {
1335 		    $this->results = parent::GetEquipmentByCriteria($criteria);
1336         }
1337 
1338         if(!$this->results || $this->results->totalCount == 0) {
1339             $this->FoundEquipment = false;
1340         }
1341         $this->ResultsCount = $this->results->totalCount;
1342 
1343 		$this->LoadMetaTags(2);
1344 
1345 		// Display text
1346 		$this->SEO = "Click the Photo or Price of the Items Listed Below for Details:";
1347 

Trace

Used Equipment For Sale at Lawson Implement Co., Inc. » Lawson Implement Co., Inc
Browse » Used »

Used Equipment For Sale at Lawson Implement Co., Inc.

Click the Photo or Price of the Items Listed Below for Details:

No equipment found