Bug #84929

Fix undefined index notices

Added by Bernhard Kraft 7 months ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Start date:
2018-05-04
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

When accessing the page module with notices enabled a bunch of "undefined index" messages is being thrown. When accessing an array use the coalesce operator "??" or the isset() function to catch undefined index messages.

History

#1 Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review 7 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/56862

#3 Updated by Gerrit Code Review 7 months ago

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

#4 Updated by Gerrit Code Review 6 months ago

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

#5 Updated by Susanne Moog 6 months ago

  • Target version changed from 9.3 to 9.4

#6 Updated by Susanne Moog 3 months ago

  • Target version changed from 9.4 to Candidate for patchlevel

#7 Updated by Franz Holzinger 2 months ago

TYPO3 9.3.3 gives:

Core: Error handler (BE): PHP Notice: Undefined index: sub in /usr/www/users/username/websitepath/www/typo3/sysext/about/Classes/Controller/AboutController.php line 95
PHP Notice
Core: Error handler (BE): PHP Notice: Undefined index: allowedSubProperties in /usr/www/users/username/websitepath/www/typo3/sysext/core/Classes/MetaTag/AbstractMetaTagManager.php line 299

#8 Updated by Gerrit Code Review about 1 month ago

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

#9 Updated by Gerrit Code Review about 1 month ago

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

#10 Updated by Gerrit Code Review about 1 month ago

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

#11 Updated by Gerrit Code Review about 1 month ago

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

Also available in: Atom PDF