[TYPO3-calendar] uncaught typo3 exception - tx_cal_event_service.php...

Khodjasteh, Inge I.Khodjasteh at alexianer.de
Wed Oct 1 10:00:36 CEST 2014


Hi,

I can't do any preview or workspace preview on any page (including tx_cal data/plugin or not)  - displaying this error: 

Uncaught TYPO3 Exception
#1: PHP Warning: array_merge(): Argument #2 is not an array in D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\service\class.tx_cal_event_service.php line 253 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
D:\htdocs\typo3_src-6.2.2\typo3\sysext\core\Classes\Error\ErrorHandler.php in line 111.
34 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "array_merge(): Argument #2 is not an array", "D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\service\class.tx_cal_event_service.php", 253, array)
33 array_merge(array, boolean)

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\service\class.tx_cal_event_service.php:
00251:      $GLOBALS ['TSFE']->sys_page->versionOL ('tx_cal_event', $interRow);
00252:      $GLOBALS ['TSFE']->sys_page->fixVersioningPid ('tx_cal_event', $interRow);
00253:      $row = array_merge ($row, $interRow);
00254:     }
00255:     

32 tx_cal_event_service::getEventsFromTable(array, boolean, " AND tx_cal_calendar.uid IN (1) AND tx_cal_event.p.rt_date<=20140913) OR (tx_cal_event.uid IN (11)) )", "tx_cal_phpicalendar", " AND tx_cal_event_category_mm.uid_foreign IN (3,2,4,1)", boolean, "0,1,2,3")

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\service\class.tx_cal_event_service.php:
00142:   
00143:   // creating events
00144:   return $this->getEventsFromTable ($categories [0] [0], $includeRecurring, $additionalWhere, $this->getServiceKey (), $categorySearchString, false, $eventType);
00145:  }
00146:  

31 tx_cal_event_service::findAllWithin(tx_cal_date, tx_cal_date, "32", "0,1,2,3", "")

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\controller\class.tx_cal_modelcontroller.php:
00407:     $serviceChain .= ',' . $service->getServiceKey ();
00408:     /* Gets all events from the current model as an array */
00409:     $eventsFromService = $service->findAllWithin ($startDateObject, $endDateObject, $pidList, $eventType, $additionalWhere);
00410:     
00411:     if (! empty ($eventsFromService)) {

30 tx_cal_modelcontroller::findAllWithin("cal_event_model", tx_cal_date, tx_cal_date, "", "event", "32", "0,1,2,3")

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\controller\class.tx_cal_modelcontroller.php:
00304:   $starttime = tx_cal_calendar::calculateStartMonthTime ($dateObject);
00305:   $endtime = tx_cal_calendar::calculateEndMonthTime ($dateObject);
00306:   return $this->findAllWithin ('cal_event_model', $starttime, $endtime, $type, 'event', $pidList, $eventType);
00307:  }
00308:  function findEventsForYear(&$dateObject, $type = '', $pidList = '', $eventType = '0,1,2,3') {

29 tx_cal_modelcontroller::findEventsForMonth(tx_cal_date, "", "32")

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\controller\class.tx_cal_controller.php:
01035:    $timeObj = new tx_cal_date ($this->conf ['getdate'] . '000000');
01036:    $timeObj->setTZbyId ('UTC');
01037:    $master_array = $modelObj->findEventsForMonth ($timeObj, $type, $pidList);
01038:   }
01039:   // Hook: preMonthRendering

28 tx_cal_controller::month()

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\controller\class.tx_cal_controller.php:
00142:    if (method_exists ($this, $viewFunction)) {
00143:     /* Call appropriate view function */
00144:     $return .= $this->$viewFunction ();
00145:    } else {
00146:     $customModel = t3lib_div::makeInstanceService ('cal_view', $this->conf ['view']);

27 tx_cal_controller::getContent()

D:\htdocs\typo3_src-6.2.0\typo3conf\ext\cal\controller\class.tx_cal_controller.php:
00095:   
00096:   if (! $this->error) {
00097:    $return .= $this->getContent ();
00098:   }
00099:   

26 tx_cal_controller::main("", array)
25 call_user_func_array(array, array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
06556:       $content,
06557:       $conf
06558:      ));
06559:     } else {
06560:      $GLOBALS['TT']->setTSlogMessage('Method "' . $parts[1] . '" did not exist in class "' . $parts[0] . '"', 3);

24 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::callUserFunction("tx_cal_controller->main", array, "")

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\UserContentObject.php:
00053:   }
00054:   $this->cObj->includeLibs($conf);
00055:   $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00056:   if ($this->cObj->doConvertToUserIntObject) {
00057:    $this->cObj->doConvertToUserIntObject = FALSE;

23 TYPO3\CMS\Frontend\ContentObject\UserContentObject::render(array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
00745:      $contentObject = $this->getContentObject($name);
00746:      if ($contentObject) {
00747:       $content .= $contentObject->render($conf);
00748:      } else {
00749:       // Call hook functions for extra processing

22 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("USER", array, "30")

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
00691:     if ((int)$theKey && strpos($theKey, '.') === FALSE) {
00692:      $conf = $setup[$theKey . '.'];
00693:      $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
00694:     }
00695:    }

21 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectArrayContentObject.php:
00047:    if ($this->cObj->checkIf($conf['if.'])) {
00048:     $this->cObj->includeLibs($conf);
00049:     $content = $this->cObj->cObjGet($conf);
00050:     $wrap = isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
00051:     if ($wrap) {

20 TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::render(array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
00745:      $contentObject = $this->getContentObject($name);
00746:      if ($contentObject) {
00747:       $content .= $contentObject->render($conf);
00748:      } else {
00749:       // Call hook functions for extra processing

19 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("COA", array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\ViewHelpers\CObjectViewHelper.php:
00115:    $setup = $setup[$segment . '.'];
00116:   }
00117:   $content = $contentObject->cObjGetSingle($setup[$lastSegment], $setup[$lastSegment . '.']);
00118:   if (TYPO3_MODE === 'BE') {
00119:    $this->resetFrontendEnvironment();

18 TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::render("lib.monatsKalender", NULL, NULL, "")
17 call_user_func_array(array, array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:
00246: 
00247:   try {
00248:    return call_user_func_array(array($this, 'render'), $renderMethodParameters);
00249:   } catch (\TYPO3\CMS\Fluid\Core\ViewHelper\Exception $exception) {
00250:    // @todo [BW] rethrow exception, log, ignore.. depending on the current context

16 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:
00228:   $this->initialize();
00229: 
00230:   return $this->callRenderMethod();
00231:  }
00232: 

15 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()

D:\htdocs\typo3_src-6.2.0\typo3temp\Cache\Code\fluid_template\Standalone_template_file_agamus_seite_2_spalten_170259e6aba7b1d87ccc1bf827a0db948d76e784.php:
00063: // End of ViewHelper TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper
00064: 
00065: $output0 .= $viewHelper6->initializeArgumentsAndRender();
00066: 
00067: $output0 .= '

14 FluidCache_Standalone_template_file_agamus_seite_2_spalten_170259e6aba7b1d87ccc1bf827a0db948d76e784::section_040f06fd774092478d450774f5ba30c5da78acc8(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\View\AbstractTemplateView.php:
00220:    }
00221:    $this->startRendering($renderingTypeOnNextLevel, $parsedTemplate, $renderingContext);
00222:    $output = $parsedTemplate->{$methodNameOfSection}($renderingContext);
00223:    $this->stopRendering();
00224:   } else {

13 TYPO3\CMS\Fluid\View\AbstractTemplateView::renderSection("content", array, boolean)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\ViewHelpers\RenderViewHelper.php:
00088:    return $this->viewHelperVariableContainer->getView()->renderPartial($partial, $section, $arguments);
00089:   } elseif ($section !== NULL) {
00090:    return $this->viewHelperVariableContainer->getView()->renderSection($section, $arguments, $optional);
00091:   }
00092:   return '';

12 TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::render("content", NULL, array, boolean)
11 call_user_func_array(array, array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:
00246: 
00247:   try {
00248:    return call_user_func_array(array($this, 'render'), $renderMethodParameters);
00249:   } catch (\TYPO3\CMS\Fluid\Core\ViewHelper\Exception $exception) {
00250:    // @todo [BW] rethrow exception, log, ignore.. depending on the current context

10 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\Core\ViewHelper\AbstractViewHelper.php:
00228:   $this->initialize();
00229: 
00230:   return $this->callRenderMethod();
00231:  }
00232: 

9 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()

D:\htdocs\typo3_src-6.2.0\typo3temp\Cache\Code\fluid_template\Standalone_layout_layout_7cf73f82fe0794a2d7298cb43a68c99538eb2f98.php:
00059: // End of ViewHelper TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper
00060: 
00061: $output0 .= $viewHelper6->initializeArgumentsAndRender();
00062: 
00063: $output0 .= '

8 FluidCache_Standalone_layout_layout_7cf73f82fe0794a2d7298cb43a68c99538eb2f98::render(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\fluid\Classes\View\AbstractTemplateView.php:
00180:    }
00181:    $this->startRendering(self::RENDERING_LAYOUT, $parsedTemplate, $this->baseRenderingContext);
00182:    $output = $parsedLayout->render($this->baseRenderingContext);
00183:    $this->stopRendering();
00184:   } else {

7 TYPO3\CMS\Fluid\View\AbstractTemplateView::render()

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\FluidTemplateContentObject.php:
00266:   */
00267:  protected function renderFluidView() {
00268:   return $this->view->render();
00269:  }
00270: 

6 TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::renderFluidView()

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\FluidTemplateContentObject.php:
00095:   $this->assignContentObjectDataAndCurrent($conf);
00096: 
00097:   $content = $this->renderFluidView();
00098:   $content = $this->applyStandardWrapToRenderedContent($content, $conf);
00099: 

5 TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::render(array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
00745:      $contentObject = $this->getContentObject($name);
00746:      if ($contentObject) {
00747:       $content .= $contentObject->render($conf);
00748:      } else {
00749:       // Call hook functions for extra processing

4 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("FLUIDTEMPLATE", array, "10")

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php:
00691:     if ((int)$theKey && strpos($theKey, '.') === FALSE) {
00692:      $conf = $setup[$theKey . '.'];
00693:      $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
00694:     }
00695:    }

3 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)

D:\htdocs\typo3_src-6.2.2\typo3\sysext\frontend\Classes\Page\PageGenerator.php:
00233:   $GLOBALS['TT']->incStackPointer();
00234:   $GLOBALS['TT']->push($GLOBALS['TSFE']->sPre, 'PAGE');
00235:   $pageContent = $GLOBALS['TSFE']->cObj->cObjGet($GLOBALS['TSFE']->pSetup);
00236:   if ($GLOBALS['TSFE']->pSetup['wrap']) {
00237:    $pageContent = $GLOBALS['TSFE']->cObj->wrap($pageContent, $GLOBALS['TSFE']->pSetup['wrap']);

2 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent()

D:\htdocs\typo3_src-6.2.0\typo3_src\typo3\sysext\cms\tslib\index_ts.php:
00222:   // Content generation
00223:   if (!$TSFE->isINTincScript()) {
00224:    \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent();
00225:    $TSFE->setAbsRefPrefix();
00226:   }

1 require("D:\htdocs\typo3_src-6.2.0\typo3_src\typo3\sysext\cms\tslib\index_ts.php")

D:\htdocs\typo3_src-6.2.0\typo3_src\index.php:
00039:  ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00040: 
00041: require(PATH_tslib . 'index_ts.php');


It's a typo3 6.2.3 installation and tx_cal 1.6.0


Mit freundlichen Grüßen

Inge Khodjasteh
Webdesign

              
DaKS GmbH            
Alexianerweg 9              
48163 Münster              
Tel. +49 2501 966 50438 

I.Khodjasteh at alexianer.de / www.alexianer.de


DaKS GmbH
Geschäftsführer: Andreas Barthold, Gerald Oestreich, Barbara Pollok / Sitz der Gesellschaft: Münster
Handelsregister Münster, HRB 4624

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben,informieren Sie bitte sofort den 
Absender und vernichten Sie diese E-Mail. Dasunerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.


More information about the TYPO3-project-calendar mailing list