Bug #84929

Fix undefined index notices

Added by Bernhard Kraft over 1 year ago. Updated 9 months ago.

Status:
Closed
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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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 over 1 year ago

  • Target version changed from 9.3 to 9.4

#6 Updated by Susanne Moog about 1 year ago

  • Target version changed from 9.4 to Candidate for patchlevel

#7 Updated by Franz Holzinger about 1 year 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 year 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 year 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 year 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 year 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

#12 Updated by Susanne Moog 9 months ago

  • Status changed from Under Review to Closed

Patch has been abandoned and approach changed to one review per file - closing this issue.

Also available in: Atom PDF