Home › Forums › Calendar Products › Events Calendar PRO › + Google Calendar Link in the pages of events does not work
- This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by
Brian.
-
AuthorPosts
-
June 8, 2015 at 8:43 am #967865
Lauren Harris
ParticipantI am also experiencing the “Invalid Request” error in some cases when clicking on the + Google Calendar button on a single event page. I have done some testing to try to narrow the issue, but it seems oddly variable. I found some consistency with it breaking when I added images to the body of the event. I found more consistency when adding lightboxes, and still more consistency when adding 5 or more lightboxes. However, there were exceptions in each of those cases (for example, after some time, it was still broken even after deleting all but 4 lightboxes).
I troubleshooted this somewhat extensively with the developers of my Theme. They concluded the following:
“It seems to me that they should strip the HTML of the event content (line 2673 in lib/the-events-calendar.class.php) as Google Calendar complains when you pass HTML code in the calendar event’s details. It might also have something to do with the length of the details, but in any case this should not contain any HTML, in my opinion.”I have tried this in multiple browsers, with multiple users, with cache and history clearing, and have experienced the issue across the board.
I am in the process of testing this on a 2014 default WP theme with no extras in a subdomain of my account, but it is taking time to set up. However, it appears this has already been tested elsewhere (https://theeventscalendar.com/support/forums/topic/google-calendar-link-in-the-pages-of-events-does-not-work/) and the problem has persisted.
June 8, 2015 at 1:01 pm #967922Brian
MemberHi,
Sorry for the issues you are having. I can help out here.
We are working on a better filter for the core plugin for the Google Calendar Export to strip out html and preserve line breaks. It is not ready to be included in the 3.10 release this week.
For now does this filter help out:
Can you add that coding to your theme’s function.php and let me know if it works for you.
Cheers
June 8, 2015 at 1:16 pm #967927Lauren Harris
ParticipantIt looks like that did the trick! At least for now. In the past I’ve had the problem disappear temporarily, and then come back. However, knowing you guys are working on improving the filter is great news, so I think I’m in good shape until you roll that out.
Thanks!
June 9, 2015 at 7:22 am #968111Brian
MemberGreat glad it helps.
Look for a new filter to be apart of the plugin in the version after 3.10.
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘+ Google Calendar Link in the pages of events does not work’ is closed to new replies.
