#1476107295: PHP Warning: Creating default object from empty value in /var/www/vhs-dev/web/typo3conf/ext/sg_cookie_optin/Classes/Hook/GenerateFilesAfterTcaSave.php line 121
Eviroment:
- TYPO3 8.7.28
- PHP 7.0
- Multidomain Setup mit mehren root Seiten
- extension: 1.8.2
Beim Speichern im Backend bekomme ich folgend Fehler:
#1476107295: PHP Warning: Creating default object from empty value in /var/www/vhs-dev/web/typo3conf/ext/sg_cookie_optin/Classes/Hook/GenerateFilesAfterTcaSave.php line 121 (More information)
TYPO3\CMS\Core\Error\Exception thrown in file /var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 107.
13 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Creating default object from empty value", "/var/www/vhs-dev/web/typo3conf/ext/sg_cookie_optin/Classes/Hook/GenerateFilesAfterTcaSave.php", 121, array)
/var/www/vhs-dev/web/typo3conf/ext/sg_cookie_optin/Classes/Hook/GenerateFilesAfterTcaSave.php: 00119: debug($typoScriptFrontendController); 00120: $originalGrList = $typoScriptFrontendController->gr_list; 00121: $typoScriptFrontendController->gr_list = ''; 00122: } 00123:
12 SGalinski\SgCookieOptin\Hook\GenerateFilesAfterTcaSave::processDatamap_afterAllOperations(TYPO3\CMS\Core\DataHandling\DataHandler)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/core/Classes/DataHandling/DataHandler.php: 01343: foreach ($hookObjectsArr as $hookObj) { 01344: if (method_exists($hookObj, 'processDatamap_afterAllOperations')) { 01345: $hookObj->processDatamap_afterAllOperations($this); 01346: } 01347: }
11 TYPO3\CMS\Core\DataHandling\DataHandler::process_datamap()
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Controller/EditDocumentController.php: 00558: // Perform the saving operation with DataHandler: 00559: $tce->process_uploads($_FILES); 00560: $tce->process_datamap(); 00561: $tce->process_cmdmap(); 00562: // If pages are being edited, we set an instruction about updating the page tree after this operation.
10 TYPO3\CMS\Backend\Controller\EditDocumentController::processData()
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Controller/EditDocumentController.php: 02107: // Checks, if a save button has been clicked (or the doSave variable is sent) 02108: if ($this->doProcessData()) { 02109: $this->processData(); 02110: } 02111:
9 TYPO3\CMS\Backend\Controller\EditDocumentController::mainAction(TYPO3\CMS\Core\Http\ServerRequest, TYPO3\CMS\Core\Http\Response) 8 call_user_func_array(array, array)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Http/RouteDispatcher.php: 00052: $targetIdentifier = $route->getOption('target'); 00053: $target = $this->getCallableFromTarget($targetIdentifier); 00054: return call_user_func_array(
request, $response]); 00055: } 00056:7 TYPO3\CMS\Backend\Http\RouteDispatcher::dispatch(TYPO3\CMS\Core\Http\ServerRequest, TYPO3\CMS\Core\Http\Response)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Http/RequestHandler.php: 00137: /** @var RouteDispatcher $dispatcher */ 00138: $dispatcher = GeneralUtility::makeInstance(RouteDispatcher::class); 00139: return $dispatcher->dispatch($request, $response); 00140: } 00141: }
6 TYPO3\CMS\Backend\Http\RequestHandler::dispatch(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Http/RequestHandler.php: 00070: // Check if the router has the available route and dispatch. 00071: try { 00072: return $this->dispatch($request); 00073: } catch (InvalidRequestTokenException $e) { 00074: // When token was invalid redirect to login
5 TYPO3\CMS\Backend\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/core/Classes/Core/Bootstrap.php: 00317: 00318: // Execute the command which returns a Response object or NULL 00319: $this->response = $requestHandler->handleRequest($request); 00320: return $this; 00321: }
4 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Classes/Http/Application.php: 00090: } 00091: 00092: $this->bootstrap->handleRequest($this->request); 00093: 00094: if ($execute !== null) {
3 TYPO3\CMS\Backend\Http\Application::run()
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Resources/Private/Php/backend.php: 00022: $classLoader = require DIR . '/../../../../../../vendor/autoload.php'; 00023: 00024: (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run(); 00025: });
2 {closure}()
/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Resources/Private/Php/backend.php: 00023: 00024: (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run(); 00025: });
1 require("/var/www/vhs-dev/vendor/typo3/cms/typo3/sysext/backend/Resources/Private/Php/backend.php")
/var/www/vhs-dev/vendor/typo3/cms/typo3/index.php: 00001: <?php 00002: 00003: require DIR . '/sysext/backend/Resources/Private/Php/backend.php';