我已从TYPO3 v6.2升级到v7.6。在v6.2下可以完成以下工作:
$this->bootc = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Extbase\Core\Bootstrap');
$this->bootc->run('', array(
'extensionName' => 'Test',
'pluginName' => 'Pi1',
'controller' => 'Testing',
'action' => 'list',
'vendorName' => 'TE',
'switchableControllerActions' => array(
'Breadcrumb' => array(
1 => 'list'
)
),
'settings' => array(
'contentRoot' => '1',
'replaceRoot' => '3'
),
'persistence' => array(
'storagePid' => ''
)
));
在v7.6下,带有php文件的脚本不起作用。该脚本作为任务运行。
以下是日志文件中的内容,我无法执行任何操作:
Oops, an error occurred: Call to undefined method TYPO3\CMS\Extbase\Mvc\Web\Response::getExitCode()
那会是什么?