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

Undefined array key "cleverreach" #57

Open
MaximilianSchweiger opened this issue Nov 2, 2023 · 0 comments
Open

Undefined array key "cleverreach" #57

MaximilianSchweiger opened this issue Nov 2, 2023 · 0 comments

Comments

@MaximilianSchweiger
Copy link

MaximilianSchweiger commented Nov 2, 2023

Hello,

I am currently getting the following error message:

Undefined array key "cleverreach" in cleverreach/Classes/Powermail/Finisher/CleverReach.php line 70

System: TYPO3 v12
PHP: 8.1
cleverrReach: 12.0.0

When checking the Finisher, I noticed that the flexForm values cleverreachFormId and cleverreachGroupId are read, but the SingelSelect of cleverreach is not. Unfortunately, the individual options are not displayed here yet.

I then checked the cleverreach/Configuration/TsConfig/Page/powermail.tsconfig and saw that the SingleSelect items have not yet been adapted to the new requirements of the TCA.

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.0 {
  0 = ---
  1 =
}

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.1 {
  0 = Anmelden
  1 = optin
}

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.2 {
  0 = Abmelden
  1 = optout
}

[Line 16-29]

For everything to work, the would need to be adjusted as follows:

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.0 {
  label = ---
  value =
}

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.1 {
  label = Anmelden
  value = optin
}

tx_powermail.flexForm.addField.settings\.flexform\.main\.cleverreach.config.items.2 {
  label = Abmelden
  value = optout
}

[Line 16-29]

Once this is changed, the extension works fine under TYPO3 v 12, so I would ask you to include this customization.

With kind regards

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

1 participant