#96832Decrecated Exception thrown in DataHandler.php
Description
Line 7464
catch (DBALException $e) {
deprecated since php 5.6
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 4
-
Frank W Blank commented 02/11/22, 13:16
-
Nikita Hovratov commented 02/11/22, 16:58
Hi Frank, this Exception comes from doctrine/dbal. TYPO3 v9/v10 still support doctrine/dbal version 2.10.0. Because of this, we can’t use the newer Doctrine\DBAL\Exception.
-
Mathias Schreiber changed Sprint Focus Remote Sprint 03/08/22, 12:09
-
Andreas Kienast commented and changed status
NewClosed 04/04/22, 15:21As already mentioned,
DBALExceptioncomes fromdoctrine/dbal, thus it cannot be “deprecated since PHP 5.6). I’ll close this ticket now.Kind regards
Andreas
more Details
The caught DBALException is deprecated since PHP 5.6 and must be replaced