Uncaught TYPO3 Exception
Call to a member function fetch() on null

Error thrown in file
/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/core/Classes/Database/PreparedStatement.php in line 429.

7 TYPO3\CMS\Core\Database\PreparedStatement::fetch()

/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php:
00397:             $statement = $this->db->prepare_SELECTquery('*', 'fe_session_data', 'hash = :hash');
00398:             $statement->execute([':hash' => $this->id]);
00399:             if (($sesDataRow = $statement->fetch()) !== false) {
00400:                 $this->sesData = unserialize($sesDataRow['content']);
00401:                 $this->sessionDataTimestamp = $sesDataRow['tstamp'];

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

/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
01087:         $this->fe_user->unpack_uc('');
01088:         // Gets session data
01089:         $this->fe_user->fetchSessionData();
01090:         $recs = GeneralUtility::_GP('recs');
01091:         // If any record registration is submitted, register the record.

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

/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/frontend/Classes/Http/RequestHandler.php:
00116:         // Initializing the Frontend User
00117:         $this->timeTracker->push('Front End user initialized', '');
00118:         $this->controller->initFEuser();
00119:         $this->timeTracker->pull();
00120: 

4 TYPO3\CMS\Frontend\Http\RequestHandler::handleRequest()

/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/core/Classes/Core/Bootstrap.php:
00306: 
00307:         // Execute the command which returns a Response object or NULL
00308:         $this->response = $requestHandler->handleRequest($request);
00309:         return $this;
00310:     }

3 TYPO3\CMS\Core\Core\Bootstrap::handleRequest()

/var/www/clients/client0/web41/web/typo3_src/typo3/sysext/frontend/Classes/Http/Application.php:
00076:     public function run(callable $execute = null)
00077:     {
00078:         $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());
00079: 
00080:         if ($execute !== null) {

2 TYPO3\CMS\Frontend\Http\Application::run()

/var/www/clients/client0/web41/web/typo3_src/index.php:
00031: call_user_func(function () {
00032:     $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });

1 {closure}()

/var/www/clients/client0/web41/web/typo3_src/index.php:
00032:     $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });