Bug #91444

Running on TYPO3 v. 9.5.18 and PHP 7.4.6 - PHP Runtime Deprecation Notice: Invalid characters passed for attempted conversion

Added by Claus Harup 5 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2020-05-19
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Running on TYPO3 v. 9.5.18 and PHP 7.4.6:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1476107295: PHP Runtime Deprecation Notice: Invalid characters passed for attempted conversion, these have been ignored in /var/www/typo3_source/typo3_src-9.5.18/vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php line 103

TYPO3\CMS\Core\Error\Exception thrown in file /var/www/typo3_source/typo3_src-9.5.18/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 124. Requested URL: https://xxxxxx.com/typo3/install.php?install[controller]=upgrade&install[context]=backend

Associated revisions

Revision de26b0b1 (diff)
Added by Benni Mack 5 months ago

[BUGFIX] Avoid PHP 7.4 notices with nikic/php-parser

TYPO3 v9 is loaded with nikic/php-parser 4.2.2, however
only 4.3.0 or higher fixed some PHP 7.4 compatibility
issues. For this reason, the dependency is now raised
to use at least v4.3.0.

composer req nikic/php-parser:^4.3.0

Resolves: #91444
Releases: 9.5
Change-Id: I8a133b9e4c49cb615a463f4d0f26866fa875a03c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64563
Reviewed-by: Oliver Klee <>
Reviewed-by: Markus Klein <>
Reviewed-by: Benni Mack <>
Tested-by: TYPO3com <>
Tested-by: Markus Klein <>
Tested-by: Benni Mack <>

History

#1 Updated by Claus Harup 5 months ago

It happens when using "Scan Extension Files"

#2 Updated by Gerrit Code Review 5 months ago

  • Status changed from New to Under Review

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64563

#3 Updated by Gerrit Code Review 5 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64562

#4 Updated by Gerrit Code Review 5 months ago

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64563

#5 Updated by Gerrit Code Review 5 months ago

Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64563

#6 Updated by Gerrit Code Review 5 months ago

Patch set 4 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64563

#7 Updated by Benni Mack 5 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF