Actions
Bug #54945
closed"PaginateController does not exist" with Powermail extension
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I installed the latest Powermail extension (2.0.10) on a TYPO3 6.1.6. I use VHS 1.8.3. The server runs on PHP 5.4.4.
On my development server (running PHP 5.3.10), everything's working fine, but on my live server, when I click the Powermail menu on the left I get this error:
Class TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController does not exist ReflectionException thrown in file /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 100.
I've already tried clearing caches and reinstalling the extension. I also manually truncated the cf_ and cache_ tables.
Stack Trace:
Class TYPO3\CMS\Fluid\ViewHelpers\Widget\Controller\PaginateController does not exist ReflectionException thrown in file /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php in line 100. 19 ReflectionParameter::getClass() /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php: 00098: $reflectionParameter = $reflectionMethod->getParameters(); 00099: if (isset($reflectionParameter[0])) { 00100: if (!$reflectionParameter[0]->getClass()) { 00101: throw new \Exception('Method "' . $reflectionMethod->getName() . '" of class "' . $reflectedClass->getName() . '" is marked as setter for Dependency Injection, but does not have a type annotation'); 00102: } 18 TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory::getInjectMethods(ReflectionClass) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/ClassInfoFactory.php: 00049: } 00050: $constructorArguments = $this->getConstructorArguments($reflectedClass); 00051: $injectMethods = $this->getInjectMethods($reflectedClass); 00052: $injectProperties = $this->getInjectProperties($reflectedClass); 00053: $isSingleton = $this->getIsSingleton($className); 17 TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory::buildClassInfoFromClassName("TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper") /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00323: $classInfo = $this->getClassInfoCache()->get($classNameHash); 00324: if (!$classInfo instanceof \TYPO3\CMS\Extbase\Object\Container\ClassInfo) { 00325: $classInfo = $this->getClassInfoFactory()->buildClassInfoFromClassName($className); 00326: $this->getClassInfoCache()->set($classNameHash, $classInfo); 00327: } 16 TYPO3\CMS\Extbase\Object\Container\Container::getClassInfo("TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper") /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00158: return $this->singletonInstances[$className]; 00159: } 00160: $classInfo = $this->getClassInfo($className); 00161: $classIsSingleton = $classInfo->getIsSingleton(); 00162: if (!$classIsSingleton) { 15 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper", array) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/Container/Container.php: 00116: public function getInstance($className, $givenConstructorArguments = array()) { 00117: $this->prototypeObjectsWhichAreCurrentlyInstanciated = array(); 00118: return $this->getInstanceInternal($className, $givenConstructorArguments); 00119: } 00120: 14 TYPO3\CMS\Extbase\Object\Container\Container::getInstance("TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper", array) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Object/ObjectManager.php: 00103: $instance = call_user_func_array(array('TYPO3\\CMS\\Core\\Utility\\GeneralUtility', 'makeInstance'), $arguments); 00104: } else { 00105: $instance = $this->objectContainer->getInstance($objectName, $arguments); 00106: } 00107: return $instance; 13 TYPO3\CMS\Extbase\Object\ObjectManager::get("TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper") /home/.sites/114/site3916794/web/new/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00483: throw new \TYPO3\CMS\Fluid\Core\Parser\Exception('Namespace could not be resolved. This exception should never be thrown!', 1224254792); 00484: } 00485: $viewHelper = $this->objectManager->get($this->resolveViewHelperName($namespaceIdentifier, $methodIdentifier)); 00486: 00487: // The following three checks are only done *in an uncached template*, and not needed anymore in the cached version 12 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::initializeViewHelperAndAddItToStack(TYPO3\CMS\Fluid\Core\Parser\ParsingState, "f", "widget.paginate", array) /home/.sites/114/site3916794/web/new/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00460: protected function openingViewHelperTagHandler(\TYPO3\CMS\Fluid\Core\Parser\ParsingState $state, $namespaceIdentifier, $methodIdentifier, $arguments, $selfclosing) { 00461: $argumentsObjectTree = $this->parseArguments($arguments); 00462: $this->initializeViewHelperAndAddItToStack($state, $namespaceIdentifier, $methodIdentifier, $argumentsObjectTree); 00463: 00464: if ($selfclosing) { 11 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::openingViewHelperTagHandler(TYPO3\CMS\Fluid\Core\Parser\ParsingState, "f", "widget.paginate", " objects="{mails}" as="mailsPage" configuration="{…age: '{perPage}', insertAbove: 1, insertBelow: 1}"", boolean) /home/.sites/114/site3916794/web/new/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00434: $this->textHandler($state, $matchedVariables[1]); 00435: } elseif (preg_match($regularExpression_openingViewHelperTag, $templateElement, $matchedVariables) > 0) { 00436: $this->openingViewHelperTagHandler($state, $matchedVariables['NamespaceIdentifier'], $matchedVariables['MethodIdentifier'], $matchedVariables['Attributes'], ($matchedVariables['Selfclosing'] === '' ? FALSE : TRUE)); 00437: } elseif (preg_match($regularExpression_closingViewHelperTag, $templateElement, $matchedVariables) > 0) { 00438: $this->closingViewHelperTagHandler($state, $matchedVariables['NamespaceIdentifier'], $matchedVariables['MethodIdentifier']); 10 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::buildObjectTree(array, 2) /home/.sites/114/site3916794/web/new/typo3/sysext/fluid/Classes/Core/Parser/TemplateParser.php: 00326: $splitTemplate = $this->splitTemplateAtDynamicTags($templateString); 00327: 00328: $parsingState = $this->buildObjectTree($splitTemplate, self::CONTEXT_OUTSIDE_VIEWHELPER_ARGUMENTS); 00329: 00330: $variableContainer = $parsingState->getVariableContainer(); 9 TYPO3\CMS\Fluid\Core\Parser\TemplateParser::parse("{namespace vh=Tx_Powermail_ViewHelpers} ↵<f:layout…Sub" /></p> ↵ </f:else> ↵ </f:if> ↵ ↵</f:section>") /home/.sites/114/site3916794/web/new/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php: 00180: $parsedTemplate = $this->templateCompiler->get($templateIdentifier); 00181: } else { 00182: $parsedTemplate = $this->templateParser->parse($this->getTemplateSource($actionName)); 00183: if ($parsedTemplate->isCompilable()) { 00184: $this->templateCompiler->store($templateIdentifier, $parsedTemplate); 8 TYPO3\CMS\Fluid\View\AbstractTemplateView::render() /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00323: } 00324: if ($actionResult === NULL && $this->view instanceof \TYPO3\CMS\Extbase\Mvc\View\ViewInterface) { 00325: $this->response->appendContent($this->view->render()); 00326: } elseif (is_string($actionResult) && strlen($actionResult) > 0) { 00327: $this->response->appendContent($actionResult); 7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod() /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00184: $this->initializeView($this->view); 00185: } 00186: $this->callActionMethod(); 00187: } 00188: 6 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php: 00098: $controller = $this->resolveController($request); 00099: try { 00100: $controller->processRequest($request, $response); 00101: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) { 00102: } 5 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php: 00045: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */ 00046: $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response'); 00047: $this->dispatcher->dispatch($request, $response); 00048: return $response; 00049: } 4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest() /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00206: $requestHandler = $requestHandlerResolver->resolveRequestHandler(); 00207: 00208: $response = $requestHandler->handleRequest(); 00209: // If response is NULL after handling the request we need to stop 00210: // This happens for instance, when a USER object was converted to a USER_INT 3 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest() /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00195: public function run($content, $configuration) { 00196: $this->initialize($configuration); 00197: return $this->handleRequest(); 00198: } 00199: 2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array) /home/.sites/114/site3916794/web/new/typo3/sysext/extbase/Classes/Core/ModuleRunner.php: 00079: 00080: $bootstrap = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface'); 00081: $content = $bootstrap->run('', $configuration); 00082: print $content; 00083: 1 TYPO3\CMS\Extbase\Core\ModuleRunner::callModule("web_PowermailM1") /home/.sites/114/site3916794/web/new/typo3/mod.php: 00045: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) { 00046: $dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName); 00047: if ($dispatcher->callModule($temp_M) === TRUE) { 00048: $isDispatched = TRUE; 00049: break;
I've cross-posted this bug report to the PowerMail project: http://forge.typo3.org/issues/54892
Actions