Kirk

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Kirk
    Participant

    I retrieved our EventBrite credentials and re-ran the “Get Authorization” process and the problem is resolved!

    I definitely recommend improving the built-in error messaging. I’m confident that if I’d seen an error like the one the troubleshooting plugin gave me, I would have been able to solve this problem myself and not bothered you with it.

    Thank you for your attention on this issue, I really appreciate it.

    Have a great weekend!

    Kirk
    Participant

    Well that error is MUCH more informative!

    We were unable to sync your event to Eventbrite. Here’s what happened:

    Eventbrite troubleshooting:
    Mode: create | EB ID: | Post: 2857 tribe_events | Venue: 234 tribe_venue | Evenbrite error: “The OAuth token you provided was invalid.”

    I’m retrieving our EventBrite credentials now and I’ll reissue our tokens to see if that fixes it. I’ll report back as soon as I am able!

    Kirk
    Participant

    Barry,
    The alert is as quoted above (I copied and pasted). Here it is again:

    We were unable to sync your event to Eventbrite. Here’s what happened:

    This Event Requires a Venue to sync to Eventbrite

    This is indeed the only alert that appears.

    • This reply was modified 8 years, 3 months ago by Kirk.
    Kirk
    Participant

    Report Part 1:
    A brand new venue does not resolve the issue.

    Addendum: I also changed the EventBrite API keys to bad values (just entered garbage) and got no error related to that. The “venue” error is still the only one I get.

    Kirk
    Participant

    I pulled a copy of the live database. I’ll try two things:

    1) I’ll create a brand new test venue and try that
    2) I’ll try a fresh database and re-configure TEC and the EventBrite api keys.

    Boy I hope #1 works because I do not want to spend all night doing #2 🙂

    Kirk
    Participant

    Very weirdly (as I added in an edit above after you had already replied), the alert about the venue goes away if I disable WP_DEBUG.

    Alright, I’m not sure if this is a good test, but I set up a development copy of the site locally on my computer (using a Vagrant VM). I don’t how EventBrite API keys work and whether it’ll accept data from this local environment, but I hoped I would at least get an error message stating that problem if it occurred.

    The local environment does not mimic the server I’m running the site on, so problems with specific versions of PHP (or whatever) could be eliminated by this test.

    I deactivated all plugins except The Events Calendar plugins (TEC, TEC Pro, and TEC EventBrite Tickets).

    I changed my theme to Twenty Fourteen.

    And the original problem remained.

    Specifically if WP_DEBUG is disabled, there are no alerts and no errors, and the EventBrite radio button switches to “No” and all of the EventBrite fields are cleared.

    If WP_DEBUG is enabled I get the above-referenced alert about “Venue”, and the EventBrite radio button switches to “No” and all of the EventBrite fields are cleared.

    Could it be an issue with the EventBrite API information I have? Does TEC produce an error message if the EventBrite API key isn’t accepted, or if there’s some other failure in delivery to EventBrite?

    Thanks for your continued attention on this.

    • This reply was modified 8 years, 3 months ago by Kirk.
    • This reply was modified 8 years, 3 months ago by Kirk.
    Kirk
    Participant

    Allow me to change my story completely!

    I fixed the Debug Bar issue and enabled WP_DEBUG and fixed a few errors and I now have a different result when I submit an event to EventBrite!

    I now get the following alert:

    We were unable to sync your event to Eventbrite. Here’s what happened:

    This Event Requires a Venue to sync to Eventbrite

    I have definitely selected a venue, though! I even edited the venue and re-saved it to be sure.

    Bizarrely, disabling WP_DEBUG makes this alert go away but the problem remains.

    I hope this additional information (and change of symptoms) is helpful in troubleshooting this problem! Thanks and sorry for the incorrect report above.

    • This reply was modified 8 years, 3 months ago by Kirk.
    Kirk
    Participant

    Hi, thanks for getting back to me.

    No alerts appear at the top of the post. I left some items unselected during the troubleshooting process for this issue so I’m familiar with the “You didn’t select a venue” alerts and the like –none appear.

    Debug Bar actually produces its own errors when I try to create or to update an event:

    Warning: Cannot modify header information - headers already sent by (output started at [snip]/public_html/wp-content/plugins/widget-context/debug/debug-bar.php:2) in [snip]/public_html/wp-admin/post.php on line 197
    
    Warning: Cannot modify header information - headers already sent by (output started at [snip]/public_html/wp-content/plugins/widget-context/debug/debug-bar.php:2) in [snip]/public_html/wp-includes/pluggable.php on line 1228

    To work around this, I deleted error_log files from the root and from /wp-admin on my site (to avoid confusion with older errors), attempted to re-submit an EventBrite event (with the same result as above), and then reviewed php errors generated by the site using cpanel’s tool, and by looking for error_log files directly on the server –no new errors were generated.

    So it seems that PHP errors are not the issue. Where else can we look?

Viewing 8 posts - 1 through 8 (of 8 total)