b13 / menus

TYPO3 Extension for creating fast menus in a fast fashion
GNU General Public License v2.0
54 stars 21 forks source link

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

Closed RTPAst closed 3 years ago

RTPAst commented 3 years ago

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 commented 3 years ago

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

lochmueller commented 3 years ago

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