I write an extension and use TYPO3 8.7 extbase. When I clear all cache my extension works only by the first Page visit, the second page visit get this error message:
Cannot create empty instance of the class "Pit\PitExt\Domain\Model\Settings" because it does not implement the TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface.
Where is the Problem? On the first Visit it implement the interface, on the second time not?
Thank you for any help.
SettingsimplementDomainObjectInterface? Did you flush all caches including Opcache? - Mathias Brodala