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

Exception when trying to activate sf_register on TYPO3 8.7.6 LTS #45

Closed
DenisMir opened this issue Sep 8, 2017 · 1 comment
Closed

Comments

@DenisMir
Copy link

DenisMir commented Sep 8, 2017

When trying to activate sf_register on TYPO3 8.7.6 LTS the following exception is thrown:

Argument 2 passed to TYPO3\CMS\Core\Cache\CacheFactory::__construct() must be an instance of TYPO3\CMS\Core\Cache\CacheManager, none given

It is caused by line 48 in the ext_tables.php of sf_register:

        /**
         * TYPO3 cache factory
         *
         * @var \TYPO3\CMS\Core\Cache\CacheFactory $typo3CacheFactory
         */
        $typo3CacheFactory = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
            \TYPO3\CMS\Core\Cache\CacheFactory::class
        );

Please be aware that this class CacheFactory is gone in TYPO3 9:
https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/master/Breaking-80700-DeprecatedFunctionalityRemoved.html

@garbast
Copy link
Collaborator

garbast commented Sep 8, 2017

This is fixed in the development branch. Please use this or wait till after the weekend. i need to prepare a release which this time is a bit more efford.

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

No branches or pull requests

2 participants