Issue Bug Closed

#84236Uncaught exception in DataHandler

Andrej K 03/13/18, 11:11 updated 11/08/18, 23:58

Description

Description

Unable to manage/add/modify new pages due to uncaught exception while accessing MS SQL Server database.

Prerequisites

Environment is set up in following way:

  • TYPO3 version: 9.1.0
  • Webserver: Microsoft-IIS/10.0
  • PHP version: 7.2.3
  • Database: MS SQL Server 12.0.2000.8
  • OS: Windows 10
  • TYPO3 was installed using composer (typo3/cms)
  • Microsoft Drivers for PHP for SQL Server (php_sqlsrv.dll) version 5.2.0-RC from here:

https://github.com/Microsoft/msphpsql/releases

Test

1) Install TYPO3 using environment above

2) Apply patchset from https://review.typo3.org/#/c/56118/

2) Login to backend

3) Create new empty page and save it

Results

After these steps I receive following error:

 

Oops, an error occurred!

Argument 3 passed to TYPO3\CMS\Core\History\RecordHistoryStore::addRecord() must be of the type array, null given, called in C:\inetpub\wwwroot\typo3\sysext\core\Classes\DataHandling\DataHandler.php on line 7185 

And I have this in error log:

 

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Argument 3 passed to TYPO3\CMS\Core\History\RecordHistoryStore::addRecord() must be of the type array, null given, called in C:\inetpub\wwwroot\typo3\sysext\core\Classes\DataHandling\DataHandler.php on line 7185 | TypeError thrown in file C:\inetpub\wwwroot\typo3\sysext\core\Classes\History\RecordHistoryStore.php in line 70. Requested URL: http://localhost/typo3/index.php?route=%%2Fajax%%2Frecord%%2Fprocess&token=e144167bd3bf0aa66ae3910e10253fb9296af95d

I have applied patchset from https://review.typo3.org/#/c/56118/ but there is now this error while processing data on MS SQL Server database.

Reviews 0

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