Error: Call to a member function getTwoLetterIsoCode() on null
Issue #15
resolved
Hi,
Version 13.0.0 throws an error when rendering the ViewHelper on a plain page with the plugin content element or a detail view of news:
(1/1) Error
Call to a member function getTwoLetterIsoCode() on null
in … \typo3conf\ext\rx_shariff\Classes\ViewHelper\ShariffViewHelper.php line 62
TYPO3 9.5.13
news 7.3.1
eventnews 4.0.0
rx_shariff 13.0.0
HTH
Norman
Comments (4)
-
-
- changed status to resolved
[BUGFIX] Handle case where language might not be set in FE context
Fixes:
#15→ <<cset 40080f3bd0e0>>
-
I just released a new version, which hopefully should cover your case.
-
reporter Just installed it. Error vanished! Many thx!
- Log in to comment
Interesting. Seems like your configuration (for some reason) does not include the current site language.
Will try to reproduce.