Forum Replies Created
-
AuthorPosts
-
37designs
ParticipantHi Barry,
So I setup a development site on a different server and oddly enough the calendar works just fine even with the same plugins / theme.
http://citydeals.stagedsite.net/
Any ideas?
37designs
ParticipantHi Barry,
It’s actually pretty difficult to do because it’s a multisite so setting up a duplicate is tricky and it’s a live site so I can’t let it sit without any plugins activated or the default theme.
I could setup a blank install but that doesn’t seem like it would help solve the problem as it wouldn’t be the same environment?
Is there anything else that can be done to debug? Write a debug function that outputs the request and response to the console?
37designs
ParticipantHi Barry,
We haven’t done any customizations to ECP at this point. The only thing close is running a function on save of a new event, but it doesn’t do anything with the queries.
Tried deactivating plugins and running base theme but no luck.
Not sure if it’s relevant but looking at what happens when I click a day, the following gets posted:
action=tribe-mini-cal-day&eventDate=2015-07-03&count=5&tax_query=&nonce=b02eb16d7a
And the following is returned:
{“success”:true,”html”:”\n<div class=\”tribe-mini-calendar-list-wrapper\”>\n\t<div class=\”tribe-events-loop
hfeed vcalendar\”>\n\n\t\t\n\t<\/div><!– .tribe-events-loop –>\n<\/div> <!– .tribe-mini-calendar-list-wrapper
–>”,”view”:”mini-day”}Could it be related to the date query?
Best
-RossApril 20, 2015 at 3:13 pm in reply to: Use of wp_insert_post() with action 'publish_tribe_events' causes event 404s #95685437designs
ParticipantThanks,
For the time being I added a link to the MISC meta box on published events that will create a post when clicked. It’ll work for the time being 🙂
Best
-RossApril 17, 2015 at 1:32 pm in reply to: Use of wp_insert_post() with action 'publish_tribe_events' causes event 404s #95639037designs
ParticipantAny luck on this? If you don’t think we’ll have any insight by Monday morning can you let me know? I’ll need to find some complicated work around (like trying to double save the post or something) if that’s the case.
April 10, 2015 at 10:40 am in reply to: Use of wp_insert_post() with action 'publish_tribe_events' causes event 404s #95462437designs
ParticipantHey Josh,
I was using transition_post_status previously and was encountering the same issue.
My theory is that TEC runs a post-save function by default and my using wp_insert_post(); somehow interrupts it. This would explain why the date format is wrong in addition to the events 404ing.
If that is the case, maybe I can call it manually within my function after inserting the post?
Of course this is all speculation so I could be completely off.
-
AuthorPosts
