Calendar Beta 8: Server Error after Rebuilding Events

It gives out a success=1 but a server Error occurs at the same time...

Bildschirmfoto 2018-05-22 um 12.18.40.png

^^^^^ This is so right. The Server is right... :D

Code:
Error Info
The event must end after it starts. - library/XenForo/DataWriter.php:1359

Stack Trace
#0 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
#1 /Applications/XAMPP/xamppfiles/htdocs/forum/library/NixFifty/Calendar/TagHandler/Event.php(83): XenForo_DataWriter->save()
#2 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/Model/Tag.php(570): NixFifty_Calendar_TagHandler_Event->updateContentTagCache(Array, Array)
#3 /Applications/XAMPP/xamppfiles/htdocs/forum/library/NixFifty/Calendar/Deferred/Event.php(41): XenForo_Model_Tag->rebuildTagCache('nf_calendar_eve...', 3)
#4 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/Model/Deferred.php(295): NixFifty_Calendar_Deferred_Event->execute(Array, Array, 7.7770972251892, '')
#5 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.7770972251892, '', false)
#6 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 7.7770981788635, '', false)
#7 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/ViewRenderer/Abstract.php(354): XenForo_Model_Deferred->run(true, 7.7770981788635)
#8 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/ViewRenderer/HtmlAdmin.php(131): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun(true)
#9 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/FrontController.php(662): XenForo_ViewRenderer_HtmlAdmin->renderContainer(Object(XenForo_Template_Admin), Array)
#10 /Applications/XAMPP/xamppfiles/htdocs/forum/library/XenForo/FrontController.php(176): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Error), Object(XenForo_ViewRenderer_HtmlAdmin), Array)
#11 /Applications/XAMPP/xamppfiles/htdocs/forum/admin.php(13): XenForo_FrontController->run()
#12 {main}

Request State
Array
(
    [url] => http://localhost/forum/admin.php?tools/run-deferred
    [_GET] => Array
        (
            [tools/run-deferred] =>
        )

    [_POST] => Array
        (
            [redirect] => http://localhost/forum/admin.php?event-rebuilds/&success=1
            [execute] => 1
            [_xfToken] => ********
        )

)
 
I believe you found an issue a while back that let you save an event when the end date was before the start date. Now that there's a better check for that, you're getting an error on the original event that you found the issue with when the deferred task tries to rebuild that event.

Since it's just one event and looks to be on a test board, just edit the event with the id of 3 (http://localhost/forum/index.php?events/3/) and set the end date to be after the start date.
 
Back
Top