Discussion:
[TYPO3-english] Class 'In2code\Femanager\Domain\Model\Log' not found
Svyatoslav Zubarev
2017-08-09 08:53:36 UTC
Permalink
Good afternoon. Installed the extension femanager via the backend, during the installation something went wrong and now the system keeps displaying the error Class 'In2code\Femanager\Domain\Model\Log' not found. How is it possible to fix this problem?

Typo3 Version is 8.7.3
Alex Kellner
2017-08-09 11:01:13 UTC
Permalink
You installed femanager the classic way? Means without composer?
Did you cleaned all caches (in install tool)? Did you clear typo3temp/*?
--
TYPO3 separates the men from the boys :D
TYPO3-Training from in2code.de
Svyatoslav Zubarev
2017-08-09 12:11:37 UTC
Permalink
Yes, I used a classic way. Yes, I cleared the cache in typo3temp. Can you tell how can I remove femanager manually?
Alex Kellner
2017-08-09 13:15:19 UTC
Permalink
Of course, you can remove extensions by removing the entry from typo3conf/PackageStates.php
--
TYPO3 separates the men from the boys :D
TYPO3-Training from in2code.de
Svyatoslav Zubarev
2017-08-09 14:11:14 UTC
Permalink
After removing femanager in the file typo3conf/PackageStates.php I got an error "[module-web_FemanagerM1] The option "source" is required and must not be empty"
Alex Kellner
2017-08-09 16:02:25 UTC
Permalink
Of course you have to clear the cache after removing an extension
--
TYPO3 separates the men from the boys :D
TYPO3-Training from in2code.de
Svyatoslav Zubarev
2017-08-10 07:37:13 UTC
Permalink
Thanks, after removing caches it worked. Topic can be closed
Alex Kellner
2017-08-14 08:43:33 UTC
Permalink
For those who fight with the same problem in femanager, I created a FAQ-entry in the documentation:
https://docs.typo3.org/typo3cms/extensions/femanager/FAQ/Index.html#q-class-in2codefemanagerdomainmodellog-not-found-what-can-i-do
--
TYPO3 separates the men from the boys :D
TYPO3-Training from in2code.de
Salvatore Eckel
2017-08-09 13:43:08 UTC
Permalink
To uninstall the extension manually, you have to remove the "femanager" Part in this file:
"/typo3conf/PackageStates.php"

---------------

But, have you tried to clear the "classload mapping caches" in your Installtool? (/typo3/install)

Best wishes
S.E.

-----Ursprüngliche Nachricht-----
Von: typo3-english-***@lists.typo3.org [mailto:typo3-english-***@lists.typo3.org] Im Auftrag von Svyatoslav Zubarev
Gesendet: Mittwoch, 9. August 2017 14:12
An: typo3-***@lists.typo3.org
Betreff: [TYPO3-english] Re: Class 'In2code\Femanager\Domain\Model\Log' not found

Yes, I used a classic way. Yes, I cleared the cache in typo3temp. Can you tell how can I remove femanager manually?
Svyatoslav Zubarev
2017-08-09 13:12:28 UTC
Permalink
The problem occurs in the file ext_tables.php in function call_user_func(function (). If I will replace
call_user_func(function () {
..................................................................

if (!\In2code\Femanager\Utility\ConfigurationUtility::isDisableModuleActive() &&
!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'In2code.femanager',
'web',
'm1',
'',
[
'UserBackend' => 'list,userLogout'
],
[
'access' => 'user,group',
'icon' => 'EXT:femanager/ext_icon.svg',
'labels' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_mod.xlf',
]
);
}
...............................................................

to

call_user_func(function () {
.................................
if (!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'In2code.femanager',
'web',
'm1',
'',
[
'UserBackend' => 'list,userLogout'
],
[
'access' => 'user,group',
'icon' => 'EXT:femanager/ext_icon.svg',
'labels' => 'LLL:EXT:femanager/Resources/Private/Language/locallang_mod.xlf',
]
);
}
.............................
then the error disappears, but there is a new when I try to log in the extension

"Could not analyse class: "In2code\Femanager\Persistence\Generic\Mapper\DataMap" maybe not loaded or no autoloader? Class In2code\Femanager\Persistence\Generic\Mapper\DataMap does not exist"

I would like to remove this extension, it makes me sad =(
Loading...