英文:
Deprecate old-school AJAX requests
问题
我在尝试将 TYPO3 8 升级到 TYPO3 9.5.13 时遇到了一个问题:“Call to undefined method TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler()”。
我的代码如下:
if (TYPO3_MODE == 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
'BackendController::functionloaderAction',
'DmprextVendor\DmprExt\Controller\BackendController->functionloaderAction'
);
}
希望对你有所帮助。
英文:
I got an issue "Call to undefined method TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler()" when I am trying to upgrade typo 3 8 to typo 3 9.5.13.
My code is:
if (TYPO3_MODE == 'BE') {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler(
'BackendController::functionloaderAction',
'DmprextVendor\DmprExt\Controller\BackendController->functionloaderAction'
);
}
答案1
得分: 1
也许您需要查看此更改日志:registerAjaxHandler在TYPO3 v8和v9上已弃用。
英文:
Maybe your need to check out this change log: registerAjaxHandler ist deprecated on TYPO3 v8 & v9.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论