array(4 items)
   caller => 'TYPO3\CMS\Core\Database\DatabaseConnection::sql_query' (53 chars)
   ERROR => 'You have an error in your SQL syntax; check the manual that corresponds to y
      our MariaDB server version for the right syntax to use near 'AND completed=1
       AND public=1' at line 1
' (176 chars) lastBuiltQuery => 'SELECT count(*) FROM tx_ciedb_ratings WHERE hidden = 0 AND deleted = 0 AND o
      bject_uid = AND completed=1 AND public=1
' (116 chars) debug_backtrace => 'call_user_func#34 // {closure}# // TYPO3\CMS\Frontend\Http\Application->r
      un#33 // TYPO3\CMS\Core\Core\Bootstrap->handleRequest#78 // TYPO3\CMS\Fro
      ntend\Http\RequestHandler->handleRequest#302 // TYPO3\CMS\Frontend\Contro
      ller\TypoScriptFrontendController->INTincScript#232 // TYPO3\CMS\Frontend
      \Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholde
      rsInContent#3484 // TYPO3\CMS\Frontend\Controller\TypoScriptFrontendControll
      er->INTincScript_process#3518 // TYPO3\CMS\Frontend\ContentObject\Content
      ObjectRenderer->cObjGetSingle#3573 // TYPO3\CMS\Frontend\ContentObject\Co
      ntentObjectRenderer->render#859 // TYPO3\CMS\Frontend\ContentObject\UserC
      ontentObject->render#943 // TYPO3\CMS\Frontend\ContentObject\ContentObjec
      tRenderer->callUserFunction#40 // call_user_func_array#7311 // TYPO3\CMS\
      Extbase\Core\Bootstrap->run# // TYPO3\CMS\Extbase\Core\Bootstrap->hand
      leRequest#193 // TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler->handle
      Request#206 // TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch#69 // TYPO3\CMS
      \Extbase\Mvc\Controller\ActionController->processRequest#86 // TYPO3\CMS\
      Extbase\Mvc\Controller\ActionController->callActionMethod#176 // call_use
      r_func_array#283 // Liepinsnet\LnetCte\Controller\CTEFEController->detail
      sAction# // Liepinsnet\LnetCte\Controller\CTEFEController->tpl#884 // inc
      lude(fileadmin/sys/html/details/primary.php),typo3conf/ext/lnet_cte/Classes/
      Controller/CTEFEController.php#1072 // Liepinsnet\LnetCte\Controller\CTEFECo
      ntroller->tpl#65 // include(fileadmin/sys/html/rating.php),typo3conf/ext/
      lnet_cte/Classes/Controller/CTEFEController.php#1072 // cieObject_base->g
      etRatingCount#93 // cieRating->getRatingCount#593 // M1::fetchAssocField#
      191 // TYPO3\CMS\Core\Database\DatabaseConnection->sql_query#240 // TYPO3
      \CMS\Core\Database\DatabaseConnection->debug#1090
' (1807 chars)
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND completed=1 AND public=1' at line 1