Closed Abdull closed 12 months ago
Have the same problem. Each call to my new site causes 37 deprecation notices due to the use of TYPO3\CMS\Extbase\Object\ObjectManager in VHS
I can confirm the problem on TYPO3v11 with vhs 6.1.3. Notices such as the following are appended to the deprecation log many times, which is quite annoying:
Thu, 16 Feb 2023 10:38:01 +0100 [NOTICE] request="b5c422f8e8887" component="TYPO3.CMS.deprecations": Core: Error handler (FE): TYPO3 Deprecation Notice: Class TYPO3\CMS\Extbase\Object\ObjectManager is deprecated and will be removed in TYPO3 12.0 in (...)/typo3_src-11.5.24/typo3/sysext/extbase/Classes/Object/ObjectManager.php line 104
There are no more references to ObjectManager in dev-development
.
https://github.com/FluidTYPO3/vhs/blob/6.1.2/Classes/Middleware/AssetInclusion.php#L27
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.4/Deprecation-94619-ExtbaseObjectManager.html#impact