Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog extension breaks Analyze Database Structure of the install tool with PHP 8.0 #246

Open
2 of 4 tasks
DavidVoi opened this issue Feb 13, 2022 · 2 comments
Open
2 of 4 tasks

Comments

@DavidVoi
Copy link

Bug Report

Prerequisites

  • Can you reproduce the problem on TYPO3 v9.5 LTS
  • Can you reproduce the problem on TYPO3 v10.4 LTS
  • Can you reproduce the problem on TYPO3 v11.x
  • Did you perform a cursory search to see if your bug or feature is already reported?

Description

#1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "**foreign_table_where**" in /.../typo3conf/ext/blog/Configuration/TCA/Overrides/sys_category.php line 56

which as of today looks like this:

$GLOBALS['TCA']['pages']['columns']['categories']['config']['foreign_table_where']

Steps to Reproduce

  1. Use PHP 8.0.15
  2. Clean TYPO3 11.5.6
  3. Install Blog extension
  4. Analyze Database Structure of the install tool

Expected behavior: admin tool performs database check

Actual behavior: no database check, broken admin tool

Versions

11.0.2

Possibly related to

PHP warnings about undefined array keys (PHP 8.0)
#245

Fix PHP8 undefined array key warning in various places
https://forge.typo3.org/issues/94542

@dominikdoerr
Copy link
Contributor

This should already be fixed for the next release: #238

@steffenf14
Copy link

steffenf14 commented Mar 16, 2023

the reported error is for version 11.0.2 in which it is not fixed as of today. having the same problem currently.
https://github.com/TYPO3GmbH/blog/blob/11.0.2/Configuration/TCA/Overrides/sys_category.php#L56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants