Actions
Bug #77921
closedException: Could not analyse ToggleExtensionInstallationStateViewHelper
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-09-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
7.0
Tags:
Complexity:
nightmare
Is Regression:
No
Sprint Focus:
Description
The EM hangs with the error message. I cannot even start the Install Tool.
Uncaught TYPO3 Exception #1289386765: Could not analyse class:TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper maybe not loaded or no autoloader? (More information) TYPO3\CMS\Extbase\Object\Container\Exception\UnknownObjectException thrown in file /path/typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 37.
17 TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory::buildClassInfoFromClassName("TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper") /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00332: $classInfo = $this->getClassInfoCache()->get($classNameHash); 00333: if (!$classInfo instanceof \TYPO3\CMS\Extbase\Object\Container\ClassInfo) { 00334: $classInfo = $this->getClassInfoFactory()->buildClassInfoFromClassName($className); 00335: $this->getClassInfoCache()->set($classNameHash, $classInfo); 00336: } 16 TYPO3\CMS\Extbase\Object\Container\Container::getClassInfo("TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper") /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00174: return $this->singletonInstances[$className]; 00175: } 00176: $classInfo = $this->getClassInfo($className); 00177: $classIsSingleton = $classInfo->getIsSingleton(); 00178: if (!$classIsSingleton) { 15 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper", array) /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00123: public function getInstance($className, $givenConstructorArguments = array()) { 00124: $this->prototypeObjectsWhichAreCurrentlyInstanciated = array(); 00125: return $this->getInstanceInternal($className, $givenConstructorArguments); 00126: } 00127: 14 TYPO3\CMS\Extbase\Object\Container\Container::getInstance("TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper", array) /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/ObjectManager.php: 00092: $instance = call_user_func_array(array('TYPO3\\CMS\\Core\\Utility\\GeneralUtility', 'makeInstance'), $arguments); 00093: } else { 00094: $instance = $this->objectContainer->getInstance($objectName, $arguments); 00095: } 00096: return $instance; 13 TYPO3\CMS\Extbase\Object\ObjectManager::get("TYPO3\CMS\Extensionmanager\ViewHelpers\ToggleExtensionInstallationStateViewHelper") /path//typo3_src-6.2.26/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00488: throw new \TYPO3\CMS\Fluid\Core\Parser\Exception('Namespace could not be resolved. This exception should never be thrown!', 1224254792); 00489: } 00490: $viewHelper = $this->objectManager->get($this->resolveViewHelperName($namespaceIdentifier, $methodIdentifier)); 00491: $this->viewHelperNameToImplementationClassNameRuntimeCache[$namespaceIdentifier][$methodIdentifier] = get_class($viewHelper); 00492: 12 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::initializeViewHelperAndAddItToStack(TYPO3\CMS\Fluid\Core\Parser\ParsingState, "em", "toggleExtensionInstallationState", array) /path//typo3_src-6.2.26/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00465: protected function openingViewHelperTagHandler(\TYPO3\CMS\Fluid\Core\Parser\ParsingState $state, $namespaceIdentifier, $methodIdentifier, $arguments, $selfclosing) { 00466: $argumentsObjectTree = $this->parseArguments($arguments); 00467: $this->initializeViewHelperAndAddItToStack($state, $namespaceIdentifier, $methodIdentifier, $argumentsObjectTree); 00468: 00469: if ($selfclosing) { 11 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::openingViewHelperTagHandler(TYPO3\CMS\Fluid\Core\Parser\ParsingState, "em", "toggleExtensionInstallationState", " extension="{extension}" ", boolean) /path//typo3_src-6.2.26/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00439: $this->textHandler($state, $matchedVariables[1]); 00440: } elseif (preg_match($regularExpression_openingViewHelperTag, $templateElement, $matchedVariables) > 0) { 00441: $this->openingViewHelperTagHandler($state, $matchedVariables['NamespaceIdentifier'], $matchedVariables['MethodIdentifier'], $matchedVariables['Attributes'], ($matchedVariables['Selfclosing'] === '' ? FALSE : TRUE)); 00442: } elseif (preg_match($regularExpression_closingViewHelperTag, $templateElement, $matchedVariables) > 0) { 00443: $this->closingViewHelperTagHandler($state, $matchedVariables['NamespaceIdentifier'], $matchedVariables['MethodIdentifier']); 10 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::buildObjectTree(array, 2) /path//typo3_src-6.2.26/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00331: $splitTemplate = $this->splitTemplateAtDynamicTags($templateString); 00332: 00333: $parsingState = $this->buildObjectTree($splitTemplate, self::CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS); 00334: 00335: $variableContainer = $parsingState->getVariableContainer(); 9 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::parse("↵↵<f:layout name="main" />↵↵<f:section name="doche…>↵ </f:for>↵ </tbody>↵ </table>↵</f:section>↵↵↵") /path//typo3_src-6.2.26/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php: 00162: $parsedTemplate = $this->templateCompiler->get($templateIdentifier); 00163: } else { 00164: $parsedTemplate = $this->templateParser->parse($this->getTemplateSource($actionName)); 00165: if ($parsedTemplate->isCompilable()) { 00166: $this->templateCompiler->store($templateIdentifier, $parsedTemplate); 8 TYPO3\CMS\Fluid\View\AbstractTemplateView::render() /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00326: } 00327: if ($actionResult === NULL && $this->view instanceof ViewInterface) { 00328: $this->response->appendContent($this->view->render()); 00329: } elseif (is_string($actionResult) && strlen($actionResult) > 0) { 00330: $this->response->appendContent($actionResult); 7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod() /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00156: $this->initializeView($this->view); 00157: } 00158: $this->callActionMethod(); 00159: } 00160: 6 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php: 00067: $controller = $this->resolveController($request); 00068: try { 00069: $controller->processRequest($request, $response); 00070: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) { 00071: } 5 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php: 00031: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */ 00032: $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response'); 00033: $this->dispatcher->dispatch($request, $response); 00034: return $response; 00035: } 4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest() /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00193: $requestHandler = $requestHandlerResolver->resolveRequestHandler(); 00194: 00195: $response = $requestHandler->handleRequest(); 00196: // If response is NULL after handling the request we need to stop 00197: // This happens for instance, when a USER object was converted to a USER_INT 3 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest() /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00182: public function run($content, $configuration) { 00183: $this->initialize($configuration); 00184: return $this->handleRequest(); 00185: } 00186: 2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array) /path//typo3_src-6.2.26/typo3/sysext/extbase/Classes/Core/ModuleRunner.php: 00066: 00067: $bootstrap = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface'); 00068: $content = $bootstrap->run('', $configuration); 00069: print $content; 00070: 1 TYPO3\CMS\Extbase\Core\ModuleRunner::callModule("tools_ExtensionmanagerExtensionmanager") /path//typo3_src-6.2.26/typo3/mod.php: 00036: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) { 00037: $dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName); 00038: if ($dispatcher->callModule($moduleName) === TRUE) { 00039: $isDispatched = TRUE; 00040: break;
Updated by Wouter Wolters about 8 years ago
- Status changed from New to Needs Feedback
Please tell us a bit more...
What steps did you do before you received this message?
The install tool should always be loaded... looks like something else is wrong on your system.
Updated by Franz Holzinger about 8 years ago
- Complexity set to nightmare
This environment did work before under typo3_src-6.2.17 (formerly 4.5) and PHP 5.6.
Then I did an upgrade to PHP 7 (Ubuntu 16.04.1) and upgrade to TYPO3 6.2.26.
Now the EM and Install Tool do not work any more.
Updated by Franz Holzinger about 8 years ago
The Install Tool produces another exception.
Uncaught TYPO3 Exception #1289386765: Could not analyse class:TYPO3\CMS\Install\Controller\BackendModuleController maybe not loaded or no autoloader? (More information) TYPO3\CMS\Extbase\Object\Container\Exception\UnknownObjectException thrown in file /path/typo3_src-6.2.26/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 37.
Updated by Wouter Wolters about 8 years ago
- Status changed from Needs Feedback to Rejected
Sorry, but TYPO3 6.2 is not supported under PHP7. For PHP7 support you can use 7.6 LTS or one of the 8.x releases.
See also the requirements section at https://typo3.org/download/ and than the 6.2 tab.
Actions