Uncaught TYPO3 Exception
Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, null given, called in /var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php on line 402
TypeError thrown in file
/var/www/vendor/typo3/cms/typo3/sysext/core/Classes/Imaging/IconFactory.php in line 137.
20 TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord(NULL, NULL, "small")
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php:
00400: $data = [
00401: 'text' => sprintf('%s [%s:%d]', $recordTitle, $tableTitle, $linkData['uid']),
00402: 'icon' => $this->iconFactory->getIconForRecord($table, $record, Icon::SIZE_SMALL)->render()
00403: ];
00404: break;
19 TYPO3\CMS\Backend\Form\Element\InputLinkElement::getLinkExplanation("t3://record?identifier=<identifier>&uid=<record-uid>")
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Element/InputLinkElement.php:
00202: $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $fieldControlResult, false);
00203:
00204: $linkExplanation = $this->getLinkExplanation($itemValue ?: '');
00205: $explanation = htmlspecialchars($linkExplanation['text']);
00206: $toggleButtonTitle = $languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:buttons.toggleLinkExplanation');
18 TYPO3\CMS\Backend\Form\Element\InputLinkElement::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php:
00179: $options['renderType'] = $parameterArray['fieldConf']['config']['type'];
00180: }
00181: $resultArray = $this->nodeFactory->create($options)->render();
00182: return $resultArray;
00183: }
17 TYPO3\CMS\Backend\Form\Container\SingleFieldContainer::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php:
00212:
00213: $options['renderType'] = 'singleFieldContainer';
00214: $singleFieldContentArray = $this->nodeFactory->create($options)->render();
00215:
00216: if (!empty($singleFieldContentArray['html'])) {
16 TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::createPaletteContentArray("to")
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php:
00115: $fieldName = $fieldConfiguration['fieldName'];
00116: if ($fieldName === '--palette--') {
00117: $paletteElementArray = $this->createPaletteContentArray($fieldConfiguration['paletteName']);
00118: if (!empty($paletteElementArray)) {
00119: $mainStructureCounter ++;
15 TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/TabsContainer.php:
00084: }
00085: $options['renderType'] = 'paletteAndSingleContainer';
00086: $childArray = $this->nodeFactory->create($options)->render();
00087:
00088: $tabElements[] = [
14 TYPO3\CMS\Backend\Form\Container\TabsContainer::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/FullRecordContainer.php:
00081: }
00082:
00083: return $this->nodeFactory->create($data)->render();
00084: }
00085:
13 TYPO3\CMS\Backend\Form\Container\FullRecordContainer::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Form/Container/OuterWrapContainer.php:
00052: $options['renderType'] = 'listOfFieldsContainer';
00053: }
00054: $result = $this->nodeFactory->create($options)->render();
00055:
00056: $childHtml = $result['html'];
12 TYPO3\CMS\Backend\Form\Container\OuterWrapContainer::render()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:
01124:
01125: $formData['renderType'] = 'outerWrapContainer';
01126: $formResult = $nodeFactory->create($formData)->render();
01127:
01128: $html = $formResult['html'];
11 TYPO3\CMS\Backend\Controller\EditDocumentController::makeEditForm()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:
00944:
00945: // Creating the editing form, wrap it with buttons, document selector etc.
00946: $editForm = $this->makeEditForm();
00947: if ($editForm) {
00948: $this->firstEl = reset($this->elementsData);
10 TYPO3\CMS\Backend\Controller\EditDocumentController::main()
/var/www/vendor/typo3/cms/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:
01969:
01970: $this->init();
01971: $this->main();
01972:
01973: $response->getBody()->write($this->moduleTemplate->renderContent());
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/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($target, [$request, $response]);
00055: }
00056:
7 TYPO3\CMS\Backend\Http\RouteDispatcher::dispatch(TYPO3\CMS\Core\Http\ServerRequest, TYPO3\CMS\Core\Http\Response)
/var/www/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/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/vendor/typo3/cms/typo3/sysext/core/Classes/Core/Bootstrap.php:
00313:
00314: // Execute the command which returns a Response object or NULL
00315: $this->response = $requestHandler->handleRequest($request);
00316: return $this;
00317: }
4 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/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/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/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/vendor/typo3/cms/typo3/sysext/backend/Resources/Private/Php/backend.php")
/var/www/vendor/typo3/cms/typo3/index.php:
00001: <?php
00002:
00003: require __DIR__ . '/sysext/backend/Resources/Private/Php/backend.php';