Uncaught TYPO3 Exception
#1476107295: PHP Catchable Fatal Error: Method TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariantCollection::__toString() must return a string value in /data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php line 289 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/data/typo3/typo3_src-8.6.0/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 113.

19 TYPO3\CMS\Core\Error\ErrorHandler::handleError(4096, "Method TYPO3\CMS\Core\Imaging\ImageManipulation\Crollection::__toString() must return a string value", "/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php", 289, array)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php:
00287:         }
00288:         $config['cropVariants'] = $cropVariantCollection->asArray();
00289:         $elementValue = (string)$cropVariantCollection;
00290:         $config['allowedExtensions'] = implode(', ', GeneralUtility::trimExplode(',', $config['allowedExtensions'], true));
00291:         return $config;

18 TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::processConfiguration(array, "", TYPO3\CMS\Core\Resource\File)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php:
00145:         }
00146: 
00147:         $config = $this->processConfiguration($config, $parameterArray['itemFormElValue'], $file);
00148: 
00149:         $fieldInformationResult = $this->renderFieldInformation();

17 TYPO3\CMS\Backend\Form\Element\ImageManipulationElement::render()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php:
00181:             $options['renderType'] = $parameterArray['fieldConf']['config']['type'];
00182:         }
00183:         $resultArray = $this->nodeFactory->create($options)->render();
00184:         return $resultArray;
00185:     }

16 TYPO3\CMS\Backend\Form\Container\SingleFieldContainer::render()

/data/typo3/typo3_src-8.6.0/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'])) {

15 TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::createPaletteContentArray("imageoverlayPalette")

/data/typo3/typo3_src-8.6.0/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 ++;

14 TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer::render()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Container/NoTabsContainer.php:
00032:         $options = $this->data;
00033:         $options['renderType'] = 'paletteAndSingleContainer';
00034:         $resultArray = $this->nodeFactory->create($options)->render();
00035:         $resultArray['html'] = '<div class="tab-content">' . $resultArray['html'] . '</div>';
00036:         return $resultArray;

13 TYPO3\CMS\Backend\Form\Container\NoTabsContainer::render()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Container/FullRecordContainer.php:
00081:         }
00082: 
00083:         return $this->nodeFactory->create($data)->render();
00084:     }
00085: 

12 TYPO3\CMS\Backend\Form\Container\FullRecordContainer::render()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php:
00221:         $data['inlineData'] = $this->inlineData;
00222:         $data['renderType'] = 'fullRecordContainer';
00223:         return $this->nodeFactory->create($data)->render();
00224:     }
00225: 

11 TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::renderChild(array)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php:
00141:                     $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $combinationChild, false);
00142:                 }
00143:                 $childArray = $this->renderChild($data);
00144:                 $html = $childArray['html'];
00145:                 $resultArray = $this->mergeChildReturnIntoExistingResult($resultArray, $childArray, false);

10 TYPO3\CMS\Backend\Form\Container\InlineRecordContainer::render()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php:
00308:         $childData['renderType'] = 'inlineRecordContainer';
00309:         $nodeFactory = GeneralUtility::makeInstance(NodeFactory::class);
00310:         $childResult = $nodeFactory->create($childData)->render();
00311: 
00312:         $jsonArray = [

9 TYPO3\CMS\Backend\Controller\FormInlineAjaxController::detailsAction(TYPO3\CMS\Core\Http\ServerRequest, TYPO3\CMS\Core\Http\Response)
8 call_user_func_array(array, array)

/data/typo3/typo3_src-8.6.0/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)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Http/AjaxRequestHandler.php:
00163:         /** @var RouteDispatcher $dispatcher */
00164:         $dispatcher = GeneralUtility::makeInstance(RouteDispatcher::class);
00165:         return $dispatcher->dispatch($request, $response);
00166:     }
00167: 

6 TYPO3\CMS\Backend\Http\AjaxRequestHandler::dispatch(TYPO3\CMS\Core\Http\ServerRequest)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Http/AjaxRequestHandler.php:
00082:         try {
00083:             // Backend Routing - check if a valid route is there, and dispatch
00084:             return $this->dispatch($request);
00085:         } catch (ResourceNotFoundException $e) {
00086:             // no Route found, fallback to the traditional AJAX request

5 TYPO3\CMS\Backend\Http\AjaxRequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/data/typo3/typo3_src-8.6.0/typo3/sysext/core/Classes/Core/Bootstrap.php:
00308: 
00309:         // Execute the command which returns a Response object or NULL
00310:         $this->response = $requestHandler->handleRequest($request);
00311:         return $this;
00312:     }

4 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Classes/Http/Application.php:
00091:         }
00092: 
00093:         $this->bootstrap->handleRequest($this->request);
00094: 
00095:         if ($execute !== null) {

3 TYPO3\CMS\Backend\Http\Application::run()

/data/typo3/typo3_src-8.6.0/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}()

/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Resources/Private/Php/backend.php:
00023: 
00024:     (new \TYPO3\CMS\Backend\Http\Application($classLoader))->run();
00025: });

1 require("/data/typo3/typo3_src-8.6.0/typo3/sysext/backend/Resources/Private/Php/backend.php")

/data/typo3/typo3_src-8.6.0/typo3/index.php:
00001: <?php
00002: 
00003: require __DIR__ . '/sysext/backend/Resources/Private/Php/backend.php';