lochmueller / staticfilecache

🚀 Fastest TYPO3 Extension ever 🚀
https://packagist.org/packages/lochmueller/staticfilecache
GNU General Public License v3.0
115 stars 65 forks source link

Call to undefined method TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getContext() #424

Closed GigaCode93 closed 1 week ago

GigaCode93 commented 1 week ago

Bug Report

Current Behavior Call to undefined method TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::getContext() in /var/www/html/vendor/lochmueller/staticfilecache/Classes/Cache/Rule/NoWorkspacePreview.php line 21

I did not found any Documantation about it but getContext() is removed from TypoScriptFrontendController in typo3 13.4.

Environment

lochmueller commented 1 week ago

Hey @GigaCode93 I close this issue. Please use a 15.x version of EXT:staticfilecache. This line is already switched to DI : https://github.com/lochmueller/staticfilecache/blob/main/Classes/Cache/Listener/NoWorkspacePreviewListener.php Regards, Tim