DMKEBUSINESSGMBH / typo3-t3socials

0 stars 4 forks source link

Depreciation log entry: "Registered "user_txt3socialsM1" as a script-based module." #6

Open kludikovsky opened 7 years ago

kludikovsky commented 7 years ago

I get the following entries in the depreciation log about every 5 minutes. Seems to be an issue. I have no glue where this comes from.

07-04-17 22:00: Registered "user_txt3socialsM1" as a script-based module. Script-based modules are deprecated since TYPO3 CMS 7. Support will be removed with TYPO3 CMS 8, use the "routeTarget" option or dispatched modules instead. 07-04-17 22:00: TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath() - since TYPO3 CMS 7, will be removed in TYPO3 CMS 8, use routeTarget or dispatched modules instead. - call_user_func#27 // {closure}# // TYPO3\CMS\Backend\Console\Application->run#26 // TYPO3\CMS\Core\Core\Bootstrap->handleRequest#73 // TYPO3\CMS\Backend\Console\CliRequestHandler->handleRequest#302 // TYPO3\CMS\Backend\Console\CliRequestHandler->boot#66 // TYPO3\CMS\Core\Core\Bootstrap->loadExtensionTables#107 // TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtTables#974 // TYPO3\CMS\Core\Cache\Frontend\PhpFrontend->requireOnce#1876 // TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->requireOnce#77 // require_once(typo3temp/Cache/Code/cache_core/ext_tables_d9b8e39b9bd0b2cee68920f678d4001ef82f0292.php),typo3_src-7.6.16/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php#382 // tx_rnbase_util_Extensions::addModule#3134 // tx_rnbase_util_Extensions::__callStatic#3134 // call_user_func_array#38 // TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule# // TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath#950 // TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction#1006 (typo3_src-7.6.16/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php#1004) 07-04-17 22:00: TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadNewTcaColumnsConfigFiles() - since TYPO3 CMS 7, will be removed in TYPO3 CMS 8. Table definition should be moved to <your_extension>/Configuration/TCA/<table_name> - call_user_func#27 // {closure}# // TYPO3\CMS\Backend\Console\Application->run#26 // TYPO3\CMS\Core\Core\Bootstrap->handleRequest#73 // TYPO3\CMS\Backend\Console\CliRequestHandler->handleRequest#302 // TYPO3\CMS\Backend\Console\CliRequestHandler->boot#66 // TYPO3\CMS\Core\Core\Bootstrap->loadExtensionTables#107 // TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtTables#974 // TYPO3\CMS\Core\Cache\Frontend\PhpFrontend->requireOnce#1876 // TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->requireOnce#77 // require_once(typo3temp/Cache/Code/cache_core/ext_tables_d9b8e39b9bd0b2cee68920f678d4001ef82f0292.php),typo3_src-7.6.16/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php#382 // TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadNewTcaColumnsConfigFiles#3174 // TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction#1985 (typo3_src-7.6.16/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php#1977)

If I can be of some help please let me know.

T3Socials: 2.0.1 T3: 7.6.16 PHP: 5.6 Debian 7

hannesbochmann commented 7 years ago

This is a deprecation warning from the TYPO3 core. The way the backend module is registered is deprecated. We need to refactor that. As long as you use TYPO3 7.6 everything should be fine.

P.S.: The only thing you could do is to turn off the deprecation log of TYPO3.

kludikovsky commented 7 years ago

OK, it just poped up to me during some other depreciation log entries from T3 7.6. So I thought I just let you know.