Results page throws error if you don't have any results to show

Permalink Browser Info Environment
Error thrown with message "Call to a member function hasPermissions() on boolean"
Stacktrace:
#28 Error in formidable_full/elements/dashboard/result/search_header.php:23
#27 include in concrete5/concrete/src/View/AbstractView.php:180
#26 Concrete\Core\View\AbstractView:renderViewContents in concrete5/concrete/src/View/AbstractView.php:164
#25 Concrete\Core\View\AbstractView:render in concrete5/concrete/src/Controller/ElementController.php:99
#24 Concrete\Core\Controller\ElementController:render in concrete5/concrete/themes/dashboard/view.php:22
#23 include in concrete5/concrete/src/View/View.php:288
#22 Concrete\Core\View\View:renderTemplate in concrete5/concrete/src/View/View.php:250
#21 Concrete\Core\View\View:renderViewContents in concrete5/concrete/src/View/AbstractView.php:164
#20 Concrete\Core\View\AbstractView:render in concrete5/concrete/src/Http/ResponseFactory.php:148
#19 Concrete\Core\Http\ResponseFactory:view in concrete5/concrete/src/Http/ResponseFactory.php:215
#18 Concrete\Core\Http\ResponseFactory:controller in concrete5/concrete/src/Http/ResponseFactory.php:362
#17 Concrete\Core\Http\ResponseFactory:collection in concrete5/concrete/src/Http/DefaultDispatcher.php:130
#16 Concrete\Core\Http\DefaultDispatcher:handleDispatch in concrete5/concrete/src/Http/DefaultDispatcher.php:58

Type: Discussion
Status: Resolved
biplob
View Replies:

concrete5 Environment Information

concrete5: current develop branch

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.