#1: PHP Warning: strstr(): Empty needle in /var/www/html/web/typo3conf/ext/mfwc_shoolinfos/Classes/ViewHelpers/MapViewHelper.php line 44 (
More information)
TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/html/web/typo3_src/typo3/sysext/core/Classes/Error/ErrorHandler.php in line
111.
33 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "strstr(): Empty needle", "/var/www/html/web/typo3conf/ext/mfwc_shoolinfos/Classes/ViewHelpers/MapViewHelper.php", 44, array)
32 strstr("江西省瑞昌市肇陈镇中心小学", "")
/var/www/html/web/typo3conf/ext/mfwc_shoolinfos/Classes/ViewHelpers/MapViewHelper.php:00042: $county = $school->getTxMfwcshoolinfosCounty() ? $school->getTxMfwcshoolinfosCounty()->getTitle() : '';
00043:
00044: $adds = strstr($address,$zone) ? $address : $zone.$city.$county.$address;
00045: if(ExtensionManagementUtility::isLoaded('mfwc_map')){
00046: return MapController::apiAction(
31 TaoJiang\MfwcShoolinfos\ViewHelpers\MapViewHelper::render()
30 call_user_func_array(array, array)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php:00266:
00267: try {
00268: return call_user_func_array([$this, 'render'], $renderMethodParameters);
00269: } catch (Exception $exception) {
00270: if (GeneralUtility::getApplicationContext()->isProduction()) {
29 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php:00247: $this->initialize();
00248:
00249: return $this->callRenderMethod();
00250: }
00251:
28 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
/var/www/html/web/typo3temp/Cache/Code/fluid_template/MfwcShoolinfos_School_partial_School_PropertiesMap_4676d40b3cf9e2ba2cf7115bb6e582d837760a0e.php:00043: // End of ViewHelper TaoJiang\MfwcShoolinfos\ViewHelpers\MapViewHelper
00044:
00045: $output0 .= $viewHelper3->initializeArgumentsAndRender();
00046:
00047: $output0 .= '
27 FluidCache_MfwcShoolinfos_School_partial_School_PropertiesMap_4676d40b3cf9e2ba2cf7115bb6e582d837760a0e::render(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php:00286: $output = $this->renderSection($sectionName, $variables);
00287: } else {
00288: $output = $parsedPartial->render($renderingContext);
00289: }
00290: $this->stopRendering();
26 TYPO3\CMS\Fluid\View\AbstractTemplateView::renderPartial("School/PropertiesMap", NULL, array)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php:00117: $viewHelperVariableContainer = $renderingContext->getViewHelperVariableContainer();
00118: if ($partial !== null) {
00119: return $viewHelperVariableContainer->getView()->renderPartial($partial, $section, $arguments);
00120: } elseif ($section !== null) {
00121: return $viewHelperVariableContainer->getView()->renderSection($section, $arguments, $optional);
25 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic(array, Closure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)
/var/www/html/web/typo3temp/Cache/Code/fluid_template/MfwcShoolinfos_School_action_fshow_bd95936da7e9d3e59dcecff9ded8ae8e45787ecc.php:00155: $renderChildrenClosure20 = function() {return NULL;};
00156:
00157: $output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments19, $renderChildrenClosure20, $renderingContext);
00158:
00159: $output0 .= '
24 FluidCache_MfwcShoolinfos_School_action_fshow_bd95936da7e9d3e59dcecff9ded8ae8e45787ecc::section_b28b7af69320201d1cf206ebf28373980add1451(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php:00228: }
00229: $this->startRendering($renderingTypeOnNextLevel, $parsedTemplate, $renderingContext);
00230: $output = $parsedTemplate->{$methodNameOfSection}($renderingContext);
00231: $this->stopRendering();
00232: } else {
23 TYPO3\CMS\Fluid\View\AbstractTemplateView::renderSection("main", array, boolean)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php:00119: return $viewHelperVariableContainer->getView()->renderPartial($partial, $section, $arguments);
00120: } elseif ($section !== null) {
00121: return $viewHelperVariableContainer->getView()->renderSection($section, $arguments, $optional);
00122: }
00123:
22 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic(array, Closure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)
/var/www/html/web/typo3temp/Cache/Code/fluid_template/MfwcShoolinfos_School_layout_Default_fd35b2984f3dd52b96d26537255af32216114837.php:00037: $renderChildrenClosure2 = function() {return NULL;};
00038:
00039: $output0 .= TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments1, $renderChildrenClosure2, $renderingContext);
00040:
00041: $output0 .= '
21 FluidCache_MfwcShoolinfos_School_layout_Default_fd35b2984f3dd52b96d26537255af32216114837::render(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)
/var/www/html/web/typo3_src/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php:00187: }
00188: $this->startRendering(self::RENDERING_LAYOUT, $parsedTemplate, $this->baseRenderingContext);
00189: $output = $parsedLayout->render($this->baseRenderingContext);
00190: $this->stopRendering();
00191: } else {
20 TYPO3\CMS\Fluid\View\AbstractTemplateView::render()
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:00310:
00311: if ($actionResult === null && $this->view instanceof ViewInterface) {
00312: $this->response->appendContent($this->view->render());
00313: } elseif (is_string($actionResult) && $actionResult !== '') {
00314: $this->response->appendContent($actionResult);
19 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:00174: $this->initializeView($this->view);
00175: }
00176: $this->callActionMethod();
00177: }
00178:
18 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:00084: $controller = $this->resolveController($request);
00085: try {
00086: $controller->processRequest($request, $response);
00087: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00088: }
17 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php:00067: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00068: $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
00069: $this->dispatcher->dispatch($request, $response);
00070: return $response;
00071: }
16 TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler::handleRequest()
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Core/Bootstrap.php:00204: $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00205:
00206: $response = $requestHandler->handleRequest();
00207: // If response is NULL after handling the request we need to stop
00208: // This happens for instance, when a USER object was converted to a USER_INT
15 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()
/var/www/html/web/typo3_src/typo3/sysext/extbase/Classes/Core/Bootstrap.php:00191: {
00192: $this->initialize($configuration);
00193: return $this->handleRequest();
00194: }
00195:
14 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
13 call_user_func_array(array, array)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:07314: $content,
07315: $conf
07316: ]);
07317: } else {
07318: $this->getTimeTracker()->setTSlogMessage('Method "' . $parts[1] . '" did not exist in class "' . $parts[0] . '"', 3);
12 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::callUserFunction("TYPO3\CMS\Extbase\Core\Bootstrap->run", array, "")
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php:00038: }
00039: $this->cObj->includeLibs($conf);
00040: $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00041: if ($this->cObj->doConvertToUserIntObject) {
00042: $this->cObj->doConvertToUserIntObject = false;
11 TYPO3\CMS\Frontend\ContentObject\UserContentObject::render(array)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:00941: // Render content
00942: try {
00943: $content .= $contentObject->render($configuration);
00944: } catch (ContentRenderingException $exception) {
00945: // Content rendering Exceptions indicate a critical problem which should not be
10 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::render(TYPO3\CMS\Frontend\ContentObject\UserContentObject, array)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:00857: $contentObject = $this->getContentObject($name);
00858: if ($contentObject) {
00859: $content .= $this->render($contentObject, $conf);
00860: } else {
00861: // Call hook functions for extra processing
9 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("USER", array)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:03575: break;
03576: case 'FUNC':
03577: $incContent = $INTiS_cObj->cObjGetSingle('USER', $INTiS_config[$INTiS_key]['conf']);
03578: break;
03579: case 'POSTUSERFUNC':
8 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::INTincScript_process(array)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:03520: $INTiS_config = $this->config['INTincScript'];
03521: $this->INTincScript_includeLibs($INTiS_config);
03522: $this->INTincScript_process($INTiS_config);
03523: // Check if there were new items added to INTincScript during the previous execution:
03524: $INTiS_config = array_diff_assoc($this->config['INTincScript'], $INTiS_config);
7 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::recursivelyReplaceIntPlaceholdersInContent()
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:03486: }
03487:
03488: $this->recursivelyReplaceIntPlaceholdersInContent();
03489: $this->getTimeTracker()->push('Substitute header section');
03490: $this->INTincScript_loadJSCode();
6 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::INTincScript()
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/Http/RequestHandler.php:00230: if ($this->controller->isINTincScript()) {
00231: $this->timeTracker->push('Non-cached objects', '');
00232: $this->controller->INTincScript();
00233: $this->timeTracker->pull();
00234: }
5 TYPO3\CMS\Frontend\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/html/web/typo3_src/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)
/var/www/html/web/typo3_src/typo3/sysext/frontend/Classes/Http/Application.php:00076: public function run(callable $execute = null)
00077: {
00078: $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());
00079:
00080: if ($execute !== null) {
3 TYPO3\CMS\Frontend\Http\Application::run()
/var/www/html/web/typo3_src/index.php:00031: call_user_func(function () {
00032: $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033: (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });
2 {closure}()
1 call_user_func(Closure)
/var/www/html/web/typo3_src/index.php:00032: $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033: (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });