Uncaught Error: Call to undefined method Calendar\EditEventsController::doDefaultAction() in /home/efialt/web/spsy.eedd.cc/public_html/plugins/calendar/classes/Plugin.php:232
Stack trace:
#0 /home/efialt/web/spsy.eedd.cc/public_html/plugins/calendar/classes/Plugin.php(83) : eval()'d code(2): Calendar\Plugin::editEvents()
#1 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/functions.php(242) : eval()'d code(1): editevents()
#2 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/functions.php(242): eval()
#3 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/functions.php(202): XH_evaluateSinglePluginCall()
#4 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/classes/Search.php(134): evaluate_plugincall()
#5 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/classes/Search.php(102): XH\Search->prepareContent()
#6 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/classes/Search.php(182): XH\Search->search()
#7 /home/efialt/web/spsy.eedd.cc/public_html/cmsimple/classes/Controller.php(54): XH\Search->render()
# in /home/efialt/web/spsy.eedd.cc/public_html/plugins/calendar/classes/Plugin.php on line 232
Calendar crashes any search
Moderator: Tata
-
- Posts: 9
- Joined: Mon May 17, 2021 8:32 pm
Re: Calendar crashes any search
Fixed by creating a copy of function defaultAction and naming it doDefaultAction.
I understand that it is not a solution, just "die Krücke".
I understand that it is not a solution, just "die Krücke".
Re: Calendar crashes any search
Apparently, you are using a search functionality which sends a POST request; I had not anticipated that (the standard search functionality of CMSimple_XH makes a GET request). While I don't think that a POST request makes sense here, I can imagine that there are templates and custom search forms which POST, so I need to think about a solution. For now, your workaround should be fine.swammerdam wrote: ↑Fri May 21, 2021 3:38 pmUncaught Error: Call to undefined method Calendar\EditEventsController::doDefaultAction() in
Christoph M. Becker – Plugins for CMSimple_XH
Re: Calendar crashes any search
This is fixed in Calendar_XH 2.2. Thnaks for reporting the bug!
Christoph M. Becker – Plugins for CMSimple_XH