Can i have the link to the page?It seems some error happens on the server and thus an invalid JSON is returned
Thread Starter
WPMS
(@wpms)
Hi,
The sidebar is here: http://www.usahostels.com/locations/hollywood/ (I clicked on Feb. 28th and got the message, but it does it for other dates too)
The calendar is here: http://www.usahostels.com/locations/hollywood/activities/ Sometimes events show, and sometimes they don’t. (another problem)
But if you click on an activity or try to switch from the week view, you see the code I provided earlier.
Thanks!
can you check for theme/plugin conflicts?This looks like a theme conflict
http://time.ly/document/user-guide/troubleshooting/first-troubleshooting-step/
Are you on 2.2?
Hi,
We are using 2.2 version of plugin, 4.1.1 version of WordPress. We are using wpengine to host our site.
I have tried the plugin in my localhost with only this plugin installed but get same error.
Please help us to solve this issue.
Thanks.
Oh, I forget to mention that I am talking about the same issue started by “WPMS”. I am his developer.
Hi, the problem is that we make an ajax call and we get back the html of the site. That’s the error:
SyntaxError: expected expression, got ‘<‘
means that it tries to parse a json and it fails. did you check for theme compatibility?I mean try with twenty fourteen
Hi Nicola,
I am not able to solve this issue. Can you please login to site and check the error?
Please give me your email id so that I can send you login details of the site. My email id is: smanesh2004[at]gmail[dot]com
Please send me email in my inbox. I will then send you wp-admin logins of the site.
Thank you.
Hi,
no we can’t provide that level of support, not even for pro users. One thing that come to my mind is that maybe it’s the url structure. Try to use a top level page
http://www.usahostels.com/calendar
I am able to reproduce this error using the 2.2 version of plugin and 4.1.1 version of WordPress, however it is not version-specific. Note that it only happens in Chrome and IE however. The same request works as expected in Firefox.
The basic request URL on my build:
http://[SITE]/calendar/action~agenda/time_limit~1420088400/request_format~html/tag_ids~15/?callback=jQuery2001046493775583803654_1425149744954&request_type=jsonp&ai1ec_doing_ajax=true&_=1425149744956
I am running iThemes (aka Better WP Security) and after browsing the .htaccess security rules that it put in place, I found this one:
RewriteCond %{QUERY_STRING} ^.*(request|concat|insert|union|declare).* [NC]
so it was catching the “request_type=json” parameter in the URL. By adjusting that rewrite rule to:
RewriteCond %{QUERY_STRING} ^.*(concat|insert|union|declare).* [NC]
I can now filter by tags in the All-In-One calendar plugin in Chrome and IE.
So one less security check, but it now works. Try this if you happen to have the same issue.
I tried all these but no luck. I am hopeless.
Still looking someone to help me.
Thank you.
But if you switch off pretty permalinks, do you still have the issue?