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

[WARNING] Flexform default item array missing #1205

Open
schlomania opened this issue Jan 16, 2025 · 4 comments
Open

[WARNING] Flexform default item array missing #1205

schlomania opened this issue Jan 16, 2025 · 4 comments

Comments

@schlomania
Copy link

Depending on the settings regarding PHP error messages, a warning is displayed when opening a backend user group:
Core: Error handler (BE): PHP Warning: foreach() argument must be of type array|object, string given in [..]vendor/typo3/cms-core/Classes/Migrations/TcaMigration.php line 1411

To prevent this, a corresponding "array" should be set by default in the "FlexForms" for fields with <items type="array">:

<numIndex index="0" type="array">
<numIndex index="0"></numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
@schlomania
Copy link
Author

System: TYPO3 12.4 + PHP 8.2, Debug-Context

@mschwemer
Copy link
Collaborator

Can you point me to the file / line, which causes the issue?

All flexforms are configured in the proposed way.

Which powermail version do you use?

@schlomania
Copy link
Author

Current used version of Powermail is 12.5.1:

Related files:
Configuration/FlexForms/FlexformPi1.xml: Line 16
Configuration/FlexForms/FlexformPi2.xml: Line 55
Configuration/FlexForms/FlexformPi2.xml: Line 118
Configuration/FlexForms/FlexformPi2.xml: Line 212

@schlomania
Copy link
Author

$GLOBALS['TYPO3_CONF_VARS']['SYS']['exceptionalErrors'] => 20480

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

No branches or pull requests

2 participants