Project

General

Profile

Actions

Bug #101624

open

PHP Warning: Undefined array key "MPvar" in typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php line 399

Added by Philipp Parzer over 1 year ago. Updated about 1 month ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2023-08-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Error occurs if you have a mount point, which points to a page and this page has a subpage which has a content_from_pid set

- Home
  - A
    - aa
    - ab (show content from aa)
  - B (mount point to A)

if you now call /B/ab you get the error

could be easily solved:

(string)($pageCandidate['MPvar'] ?? $pageCandidate['mount_pid_ol']),


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #104750: PHP Warning: Trying to access array offset on null in PageSlugCandidateProvider.php when mounted page has been deletedNew2024-08-27

Actions
Actions

Also available in: Atom PDF