Page MenuHomePhorge

Error 500 on saving certain events
Closed, ResolvedPublic

Description

This is a standalone Roundube installation without Kolab.

When editing events with recurrences (and maybe recurrence exceptions), sometimes the following error occurs when saving the edited event:

[23-Mar-2019 16:07:55 Europe/Berlin] PHP Fatal error:  Uncaught Error: __clone method called on non-object in [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php:615
Stack trace:
#0 [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php(674): database_driver->_save_preprocess(Array)
#1 [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php(482): database_driver->_update_event(Array, true)
#2 [roundcubed dir]/plugins/calendar/calendar.php(902): database_driver->edit_event(Array)
#3 [roundcubed dir]/program/lib/Roundcube/rcube_plugin_api.php(493): calendar->event_action()
#4 [roundcubed dir]/index.php(295): rcube_plugin_api->exec_action('calendar.event')
#5 {main}
  thrown in [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php on line 615
[23-Mar-2019 16:08:09 Europe/Berlin] PHP Fatal error:  Uncaught Error: __clone method called on non-object in [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php:615
Stack trace:
#0 [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php(674): database_driver->_save_preprocess(Array)
#1 [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php(482): database_driver->_update_event(Array, true)
#2 [roundcubed dir]/plugins/calendar/calendar.php(902): database_driver->edit_event(Array)
#3 [roundcubed dir]/program/lib/Roundcube/rcube_plugin_api.php(493): calendar->event_action()
#4 [roundcubed dir]/index.php(295): rcube_plugin_api->exec_action('calendar.event')
#5 {main}
  thrown in [roundcubed dir]/plugins/calendar/drivers/database/database_driver.php on line 615

Currently the only known fix to me is first copying and then deleting the affected events.
But sometimes even that is not possible any more, then the events have to be manually removed from the database.

Roundcube v1.3.8
Calendar: v3.3.3

Details

Ticket Type
Task

Event Timeline

machniak claimed this task.
machniak subscribed.

I'm unable to reproduce on current git-master.