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

Missing argument in getParsedData() #6

Closed
msollmann opened this issue Apr 12, 2016 · 1 comment
Closed

Missing argument in getParsedData() #6

msollmann opened this issue Apr 12, 2016 · 1 comment

Comments

@msollmann
Copy link

After updating from 2.0.2 to 2.0.3 I got this FE error:

Uncaught TYPO3 Exception
#1: PHP Warning: Missing argument 4 for

TYPO3\CMS\Core\Localization\LocalizationFactory::getParsedData(), called in
/typo3conf/ext/direct_mail_subscription/pi/class.dmailsubscribe.php on line
281 and defined in
/staeqwbx/typo3_src-6.2.21/typo3/sysext/core/Classes/Localization/LocalizationFactory.php
line 78

I changed the line from:
$this->LOCAL_LANG = $languageFactory->getParsedData($basePath, $this->LLkey,
$GLOBALS['TSFE']->renderCharset);

to:

$this->LOCAL_LANG = $languageFactory->getParsedData($basePath, $this->LLkey,
$GLOBALS['TSFE']->renderCharset, 1);

and it worked. The 4th parameter is not optional.

TYPO3 6.2.21

@kartolo
Copy link
Owner

kartolo commented Apr 15, 2016

it seems that third and fourth parameter in 6.2 are not optional. Fix is coming

kartolo added a commit that referenced this issue Apr 15, 2016
In TYPO3 6.2 the third and fourth parameter are not optional.
This fixes Github #6

Releases: master
Change-Id: I0ede5443d45b60d3a99faedee89fce73f3126113
@kartolo kartolo closed this as completed Apr 15, 2016
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

2 participants