• hi
    I try to add event to google calendar via url.
    if my description is more then 1000 symbols I have error “Google Invalid request.”

    if I change file em-event.php line 1809
    if( strlen($gcal_url_description) + $gcal_url_length > 1350 ){
    $gcal_url_description = substr($gcal_url_description, 0, 1380 – $gcal_url_length – 3 ).’…’;
    to
    if( strlen($gcal_url_description) + $gcal_url_length > 1000 ){
    $gcal_url_description = substr($gcal_url_description, 0, 950 – $gcal_url_length – 3 ).’…’;

    and it is ok!
    ical google limit is 1000.

    Can you add this in next update for file em-event.php?
    Or may be I can change ical limit in other way?
    thank you.

    https://wordpress.org/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘url ical error if description length>1000 then add in google calendar’ is closed to new replies.