Issue Bug Closed

#49668fetch_assoc on a non-object in DatabaseConnection.php

Franz Holzinger 07/04/13, 18:43 updated 07/10/13, 22:18

Description

When I want to see the FE output, then instead I only get:

Fatal error: Call to a member function fetch_assoc() on a non-object in /var/www/user/web/typo3_src-6.2.0alpha1/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1029

I can debug the $res. It is really empty and not an object. The backtrace is:

index.php 41 require
index_ts.php 118 initializeBackendUser
TypoScriptFrontendController.php 1083 fetchGroupData
BackendUserAuthentication.php 1264 fetchGroups
BackendUserAuthentication.php 1362 sql_fetch_assoc
DatabaseConnection.php 1028 debug

sql_fetch_assoc $res

A former call had the $res object:

TypoScriptFrontendController.php 1080 start
BackendUserAuthentication.php 351 start
AbstractUserAuthentication.php 453 fetchUserSession
AbstractUserAuthentication.php 898 fetch
PreparedStatement.php 310 sql_fetch_assoc
DatabaseConnection.php 1028 debug

current_field
field_count
lengths
num_rows
type

sql_fetch_assoc $res

This is TYPO3 6.2 alpha1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.