Project

General

Profile

Bug #72283 ยป fullstack_trace.txt

Typo3 exception raised in upgrade wizard - alexis nicolas, 2015-12-17 09:52

 
#1224479370: Tried to get a variable "sections" which is not stored in the context! (More information)

TYPO3\CMS\Fluid\Core\ViewHelper\Exception\InvalidVariableException thrown in file
/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/fluid/Classes/Core/ViewHelper/TemplateVariableContainer.php in line 86.

23 TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer::get("sections")


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php:

00231: $this->stopRendering();
00232: } else {

00233: $sections = $parsedTemplate->getVariableContainer()->get('sections');

00234: if (!array_key_exists($sectionName, $sections)) {
00235: $controllerObjectName = $this->controllerContext->getRequest()->getControllerObjectName();


22 TYPO3\CMS\Fluid\View\AbstractTemplateView::renderSection("Configuration", array, boolean)


/appli/devlocaux/typo3/htdocs/typo3conf/ext/flux/Classes/View/ExposedTemplateView.php:

00163: $this->baseRenderingContext->setControllerContext($this->controllerContext);
00164: $this->startRendering(AbstractTemplateView::RENDERING_TEMPLATE, $this->getParsedTemplate(), $this->baseRenderingContext);

00165: $content = parent::renderSection($sectionName, $variables, $optional);

00166: $this->stopRendering();
00167: return $content;


21 FluidTYPO3\Flux\View\ExposedTemplateView::renderStandaloneSection("Configuration", array)


/appli/devlocaux/typo3/htdocs/typo3conf/ext/flux/Classes/View/ExposedTemplateView.php:

00110: $viewHelperVariableContainer = $this->baseRenderingContext->getViewHelperVariableContainer();
00111: if (FALSE === empty($sectionName)) {

00112: $this->renderStandaloneSection($sectionName, $this->baseRenderingContext->getTemplateVariableContainer()->getAll());

00113: } else {
00114: $this->render();


20 FluidTYPO3\Flux\View\ExposedTemplateView::getStoredVariable("FluidTYPO3\Flux\ViewHelpers\FormViewHelper", "form", "Configuration")


/appli/devlocaux/typo3/htdocs/typo3conf/ext/flux/Classes/View/ExposedTemplateView.php:

00063: public function getForm($sectionName = 'Configuration', $formName = 'form') {
00064: /** @var Form $form */

00065: $form = $this->getStoredVariable(AbstractFormViewHelper::SCOPE, $formName, $sectionName);

00066: if (NULL !== $form && TRUE === isset($this->templatePathAndFilename)) {
00067: $form->setOption(Form::OPTION_TEMPLATEFILE, $this->templatePathAndFilename);


19 FluidTYPO3\Flux\View\ExposedTemplateView::getForm("Configuration", "form")


/appli/devlocaux/typo3/htdocs/typo3conf/ext/flux/Classes/Service/FluxService.php:

00218: try {
00219: $exposedView = $this->getPreparedExposedTemplateView($viewContext);

00220: self::$cache[$cacheKey] = $exposedView->getForm($section, $formName);

00221: } catch (\RuntimeException $error) {
00222: $this->debug($error);


18 FluidTYPO3\Flux\Service\FluxService::getFormFromTemplateFile(FluidTYPO3\Flux\View\ViewContext)


/appli/devlocaux/typo3/htdocs/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:

00322: $fileRelPath = $actionName . '.html';
00323: $viewContext->setTemplatePathAndFilename($templateFilename);

00324: $form = $this->getFormFromTemplateFile($viewContext);

00325: if (TRUE === empty($form)) {
00326: $this->sendDisabledContentWarning($templateFilename);


17 FluidTYPO3\Fluidcontent\Service\ConfigurationService::getContentElementFormInstances()


/appli/devlocaux/typo3/htdocs/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:

00273: protected function buildAllWizardTabGroups($allTemplatePaths) {
00274: $wizardTabs = array();

00275: $forms = $this->getContentElementFormInstances();

00276: foreach ($forms as $extensionKey => $formSet) {
00277: $formSet = $this->sortObjectsByProperty($formSet, 'options.Fluidcontent.sorting', 'ASC');


16 FluidTYPO3\Fluidcontent\Service\ConfigurationService::buildAllWizardTabGroups(array)


/appli/devlocaux/typo3/htdocs/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:

00188: try {
00189: $collection = $this->getContentConfiguration();

00190: $wizardTabs = $this->buildAllWizardTabGroups($collection);

00191: $collectionPageTsConfig = $this->buildAllWizardTabsPageTsConfig($wizardTabs);
00192: $pageTsConfig .= '[PIDinRootline = ' . strval($pageUid) . ']' . LF;


15 FluidTYPO3\Fluidcontent\Service\ConfigurationService::renderPageTypoScriptForPageUid(1)


/appli/devlocaux/typo3/htdocs/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:

00161: foreach ($templates as $template) {
00162: $pageUid = (integer) $template['pid'];

00163: $pageTsConfig .= $this->renderPageTypoScriptForPageUid($pageUid);

00164: }
00165: return $pageTsConfig;


14 FluidTYPO3\Fluidcontent\Service\ConfigurationService::getPageTsConfig()


/appli/devlocaux/typo3/htdocs/typo3conf/ext/fluidcontent/Classes/Backend/TableConfigurationPostProcessor.php:

00025: */
00026: public function processData() {

00027: ExtensionManagementUtility::addPageTSConfig($this->getConfigurationService()->getPageTsConfig());

00028: }
00029:


13 FluidTYPO3\Fluidcontent\Backend\TableConfigurationPostProcessor::processData()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/core/Classes/Core/Bootstrap.php:

01025: );
01026: }

01027: $hookObject->processData();

01028: }
01029: }


12 TYPO3\CMS\Core\Core\Bootstrap::runExtTablesPostProcessingHooks()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/core/Classes/Core/Bootstrap.php:

00972: ExtensionManagementUtility::loadExtTables($allowCaching);
00973: $this->executeExtTablesAdditionalFile();

00974: $this->runExtTablesPostProcessingHooks();

00975: return $this;
00976: }


11 TYPO3\CMS\Core\Core\Bootstrap::loadExtensionTables(boolean)


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php:

00266: ->unsetReservedGlobalVariables()
00267: ->initializeTypo3DbGlobal()

00268: ->loadExtensionTables(false);

00269: }
00270:


10 TYPO3\CMS\Install\Controller\Action\AbstractAction::loadExtLocalconfDatabaseAndExtTables()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Controller/Action/Tool/UpgradeWizard.php:

00040: {
00041: // ext_localconf, db and ext_tables must be loaded for the updates

00042: $this->loadExtLocalconfDatabaseAndExtTables();

00043:
00044: // To make sure initialUpdateDatabaseSchema is first wizard, it is added here instead of ext_localconf.php


9 TYPO3\CMS\Install\Controller\Action\Tool\UpgradeWizard::executeAction()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Controller/Action/AbstractAction.php:

00090: {
00091: $this->initializeHandle();

00092: return $this->executeAction();

00093: }
00094:


8 TYPO3\CMS\Install\Controller\Action\AbstractAction::handle()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Controller/ToolController.php:

00190: $toolAction->setPostValues($this->getPostValues());
00191: $toolAction->setLastError($this->getLastError());

00192: $this->output($toolAction->handle());

00193: }
00194: }


7 TYPO3\CMS\Install\Controller\ToolController::dispatchAuthenticationActions()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Controller/ToolController.php:

00062: $this->outputLoginFormIfNotAuthorized();
00063: $this->registerExtensionConfigurationErrorHandler();

00064: $this->dispatchAuthenticationActions();

00065: }
00066:


6 TYPO3\CMS\Install\Controller\ToolController::execute()


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Http/RequestHandler.php:

00062: $controllerClassName = \TYPO3\CMS\Install\Controller\StepController::class;
00063: }

00064: GeneralUtility::makeInstance($controllerClassName)->execute();

00065: }
00066:


5 TYPO3\CMS\Install\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/core/Classes/Core/Bootstrap.php:

00300:
00301: // Execute the command which returns a Response object or NULL

00302: $this->response = $requestHandler->handleRequest($request);

00303: return $this;
00304: }


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


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Classes/Http/Application.php:

00072: public function run(callable $execute = null)
00073: {

00074: $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());

00075:
00076: if ($execute !== null) {


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


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Start/Install.php:

00106: call_user_func(function () {
00107: $classLoader = require __DIR__ . '/../../../../vendor/autoload.php';

00108: (new \TYPO3\CMS\Install\Http\Application($classLoader))->run();

00109: });


2 {closure}()

1 call_user_func(Closure)


/appli/devlocaux/typo3/typo3_src-7.6.1/typo3/sysext/install/Start/Install.php:

00107: $classLoader = require __DIR__ . '/../../../../vendor/autoload.php';
00108: (new \TYPO3\CMS\Install\Http\Application($classLoader))->run();

00109: });

    (1-1/1)