Hello, I'm looking for a way to add a recurrence Exception.
For the moment I have tried this code
Code:
//Exception Entry
$ExcepEvent = $service->newEventEntry();
$ExcepEvent->content = $service->newContent("Contenu exceptionnel");
$event->recurrenceException =$service->newRecurrenceException(TRUE,$ExcepEvent);
$event->save();
When I'm saving, I have a Fatal Error
Code:
Fatal error: Call to a member function getDOM() on a non-object in ...\Zend\Gdata\Kind\EventEntry.php on line 136
(By the way, I have tried to catch the Exception, but I haven't suceeded
Code:
try {
$event->save();
} catch (Zend_Exception $e) {
echo "Error: " . $e->getResponse();
}
)