Details
-
Improvement
-
Resolution: Unresolved
-
High
-
1.8.0
-
None
Description
When using the function loadContent() incorrectly, a misleading error is displayed:
$content = $this->repository->getContentService()->loadContent( $location->getContentInfo() );
"An exception has been thrown during the rendering of a template ("Warning: trim() expects parameter 1 to be string, object given")."
The error should be improved to make more sense.