Bug #65093
Changes in BE-Module (Web/SEO) -> Internal Server Error
0%
Description
Following error occurs when trying to change any page-property with this backend module:
mod_fcgid: stderr: http://domain.de/ - Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1: PHP Warning: Missing argument 2 for TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController::__construct(), called in /path/to/typo3/typo3_src-6.2.9/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4434 and defined in /path/to/typo3/typo3_src-6.2.9/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 965 | TYPO3\\CMS\\Core\\Error\\Exception thrown in file /path/to/typo3/typo3_src-6.2.9/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101. Requested URL: http://domain.de/typo3/ajax.php?ajaxID=tx_tqseo_backend_ajax::page&cmd=generateSimulatedUrl, referer: http://domain.de/typo3/mod.php?M=web_TqSeoPageseo&moduleToken=898fe96996289f9d7299d60c86eed094df396578&id=1&tx_tqseo_web_tqseopageseo%5Baction%5D=url&tx_tqseo_web_tqseopageseo%5Bcontroller%5D=BackendPageSeo
Tracked it down to function:
TQ\TqSeo\Backend\Ajax\AbstractAjax::_tce()
In this function the t3lib_TCEmain-Object is initialized by $this->_tce->start();
but this function needs at least 2 parameters:
public function start($data, $cmd, $altUserObject = '')...
I removed the line to solve this issue://$this->_tce->start();
History
#1
Updated by Florian Michel almost 5 years ago
Update:
Removing $this->_tce->start();
as mentioned above leads to another JS-error Uncaught SyntaxError: Unexpected token <
(although data is saved to DB).
I tried following code, which seems to work properly:$this->_tce->start(null,null);
#2
Updated by Renaud Fortier almost 5 years ago
We got the exact same issue.
We add null,null
to the $this->_tce->start()
to fix it.
#3
Updated by Markus Blaschke almost 5 years ago
tq_seo was replaced with metaseo. There is no more active development in tq_seo
#4
Updated by Thomas Mayer almost 3 years ago
Not valid for MetaSEO 2.0.x at least. All occurences of 'start()' are of the form:
$GLOBALS['TT']->start();
... which is a void function (as of TYPO3 7.6 at least).
Issue can be closed.