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

BUG: getCache(cache_...) is deprecated and trigger an error in typo3 10 #47

Closed
RTPAst opened this issue Feb 23, 2021 · 2 comments · Fixed by #58
Closed

BUG: getCache(cache_...) is deprecated and trigger an error in typo3 10 #47

RTPAst opened this issue Feb 23, 2021 · 2 comments · Fixed by #58

Comments

@RTPAst
Copy link
Contributor

RTPAst commented Feb 23, 2021

Accessing a cache with the "cache_" prefix as in "cache_hash" and "cache_pages" is not necessary anymore, and should be called without the cache prefix. fix is needed in Classes/Hooks/DataHandlerHook.php

@RTPAst RTPAst changed the title BUg: getCache(cache_...) is deprecated and trigger an error in typo3 10 BUG: getCache(cache_...) is deprecated and trigger an error in typo3 10 Feb 23, 2021
@RTPAst
Copy link
Contributor Author

RTPAst commented Feb 23, 2021

You can use TYPO3\CMS\Core\Information\Typo3Version for backward-compatibility

@lochmueller
Copy link
Contributor

Hey everyone....
on the StaticFileCache slack we found out, that SFC is not deleted, because only two caches are deleted. Should we call a flush by tags on the manager, to support all configured caches?
https://api.typo3.org/master/class_t_y_p_o3_1_1_c_m_s_1_1_core_1_1_cache_1_1_cache_manager.html#ae8af86d7af4c26e4d6aae11ab07585fd
Regards,
Tim

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

Successfully merging a pull request may close this issue.

2 participants