Uncaught TYPO3 Exception
#1: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/web854/html/typo3/sysext/core/Classes/Database/PreparedStatement.php line 582 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/web854/html/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

7 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "count(): Parameter must be an array or an object that implements Countable", "/var/www/web854/html/typo3/sysext/core/Classes/Database/PreparedStatement.php", 582, array)
6 count(NULL)

/var/www/web854/html/typo3/sysext/core/Classes/Database/PreparedStatement.php:
00580:   */
00581:  protected function convertNamedPlaceholdersToQuestionMarks(&$query, array &$parameterValues, array &$precompiledQueryParts) {
00582:   $queryPartsCount = count($precompiledQueryParts['queryParts']);
00583:   $newParameterValues = array();
00584:   $hasNamedPlaceholders = FALSE;

5 TYPO3\CMS\Core\Database\PreparedStatement::convertNamedPlaceholdersToQuestionMarks("SELECT * FROM fe_session_data WHERE hash = :hash", array, array)

/var/www/web854/html/typo3/sysext/core/Classes/Database/PreparedStatement.php:
00306:    $precompiledQueryParts = $this->precompiledQueryParts;
00307: 
00308:    $this->convertNamedPlaceholdersToQuestionMarks($query, $parameterValues, $precompiledQueryParts);
00309:    if (count($precompiledQueryParts) > 0) {
00310:     $query = implode('', $precompiledQueryParts['queryParts']);

4 TYPO3\CMS\Core\Database\PreparedStatement::execute(array)

/var/www/web854/html/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php:
00402:   if ($this->id && !count($this->sesData)) {
00403:    $statement = $this->db->prepare_SELECTquery('*', 'fe_session_data', 'hash = :hash');
00404:    $statement->execute(array(':hash' => $this->id));
00405:    if (($sesDataRow = $statement->fetch()) !== FALSE) {
00406:     $this->sesData = unserialize($sesDataRow['content']);

3 TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication::fetchSessionData()

/var/www/web854/html/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01132:   $this->fe_user->unpack_uc('');
01133:   // Gets session data
01134:   $this->fe_user->fetchSessionData();
01135:   $recs = GeneralUtility::_GP('recs');
01136:   // If any record registration is submitted, register the record.

2 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::initFEuser()

/var/www/web854/html/typo3/sysext/cms/tslib/index_ts.php:
00107: $TT->push('Front End user initialized', '');
00108: /** @var $TSFE \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController */
00109: $TSFE->initFEuser();
00110: $TT->pull();
00111: 

1 require("/var/www/web854/html/typo3/sysext/cms/tslib/index_ts.php")

/var/www/web854/html/index.php:
00034:  ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00035: 
00036: require(PATH_tslib . 'index_ts.php');
00037: 
00038: ?>