The nnrestapi composer requirements causes LogicException

Issue #19 resolved
Mogens Fiebrandt created an issue

I’m running TYPO3 11.5.15 in composer mode and Ext:nnrestapi in Version 1.3.6.
PHP 7.4

When i set the requirement for nnrestapi in my composer.json file the TYPO3 installation breaks with #1549446998 LogicException:
TYPO3\CMS\Core\Cache\CacheManager can not be injected/instantiated during ext_localconf.php loading. Use lazy loading instead.

When i remove the X-Classing for \TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction in the ext_localconf.php of Ext:nnrestapi everything works fine.

Comments (3)

  1. David Bascom

    Once again: Thanks for reporting! We could not reproduce the problem – but have a strong suspicion of what might cause it. We just commited a change to the Nng\Nnrestapi\Xclass\HiddenRestriction which might solve the problem. Let us know, if this works for you!

    In the DEV-branch, will be in next release.

  2. Log in to comment