Call to a member function getRequest() on null
Closed this issue · 6 comments
typo3ua commented
Hello!
I try to use your ViewHelper
but I ger error
$this->arguments['extensionName'] = $this->arguments['extensionName'] ?: $this->controllerContext->getRequest()->getControllerExtensionName();
I use TYPO3 9.5.11
PHP 7.2
smichaelsen commented
Thanks for you report. What exactly is the error message?
typo3ua commented
smichaelsen commented
Thank you. I guess that means that the ViewHelper is currently not compatible with TYPO3 v9.
typo3ua commented
I need your help .. can you help me?
smichaelsen commented
As a workaround try to explicitly set the extensionName
parameter.
typo3ua commented
Yes, it helped me ... thank you so much... have a nice evening