artsmartlondon

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Eventbrite ticket error #972100
    artsmartlondon
    Participant

    I am also experiencing this issue. All events have dissapeared from my site and when i view the event in WP, i get the same red error message.

    I am on 3.9.3 as I am far too nervous in updating the plugin to try and resolve this.

    artsmartlondon
    Participant

    Are you able to Import Events?
    Yes, importing events works.

    Are you able to create events in WordPress and export them to Eventbrite?
    Not initially, but when i commented out the longitude/latitude lines of code i mentioned above, yes i could.

    Does the datepicker along with the latitude and longitude fixes you mention make this possible?
    The datepicker was another issue, which i managed to fix by changing the code as mentioned above.

    Also, the latitude and longitude issue will be resolved in 3.8.5, which we hope to release later today.
    Ok

    As for the datepicker are you saying if you have an event from May 18th to May 20th. Are you saying you can only sell tickets from today until the 18th? Or is it something else?
    The datepicker would only enable the current day regardless of the event start and end date, e.g. it should have enabled may 18th to the 20th

    As it currently stands, the changes i implemented above have allowed me to use your plugin.

    artsmartlondon
    Participant

    Javascript for datepicker formatted…

    $(“.etp-datepicker”).bind( ‘click’, function() {
    var startDate = $(‘#EventStartDate’).val();
    if ( startDate ) {
    $(this).datepicker( ‘option’, ‘maxDate’, startDate );
    $(this).datepicker( ‘show’ );
    }
    });
    

    be…

    
    $(“.etp-datepicker”).bind( ‘click’, function() {
    var endDate = $(‘#EventEndDate’).val();
    if ( endDate ) {
    $(this).datepicker( ‘option’, ‘maxDate’, endDate );
    $(this).datepicker( ‘show’ );
    }
    });
    artsmartlondon
    Participant

    I managed to get the plugin to post events to eventbrite by commenting out the following lines:

    // 'venue.address.latitude' => get_post_meta( $venue->ID, '_VenueLat', true ),
    // 'venue.address.longitude' => get_post_meta( $venue->ID, '_VenueLng', true ),
    

    in eventbrite-api.class.php , lines 300 and 301.

    artsmartlondon
    Participant

    The date picker problem i mentioned, in eventbrite-meta-box-extension.php, line 163 there is this code that sets the maxdate to the events startdate, shouldn’t that maxdate be the end date?

    Shouldn’t….

    $(“.etp-datepicker”).bind( ‘click’, function() {
    var startDate = $(‘#EventStartDate’).val();
    if ( startDate ) {
    $(this).datepicker( ‘option’, ‘maxDate’, startDate );
    $(this).datepicker( ‘show’ );
    }
    });

    be…

    $(“.etp-datepicker”).bind( ‘click’, function() {
    var endDate = $(‘#EventEndDate’).val();
    if ( endDate ) {
    $(this).datepicker( ‘option’, ‘maxDate’, endDate );
    $(this).datepicker( ‘show’ );
    }
    });

    When i changed the code to this, it started working.

    artsmartlondon
    Participant

    I managed to output the eventbrite response object and noticed this error:

    [body] => {“status_code”: 400, “error_description”: “There are errors with your arguments: venue.address.longitude – INVALID, venue.address.latitude – INVALID”, “error”: “ARGUMENTS_ERROR”}

    I created a new venue and an existing venue, got the same error each time.

    artsmartlondon
    Participant

    In addition to this, when i create an event, the Date to Start and End Ticket Sales calendar only allows me to select the start date, all other days are greyed out. Which means I can’t set a start or end date for ticket sales.

    artsmartlondon
    Participant

    I do have it authorized and the oauth uri has been filled in correctly.

    I managed to import “EdibleDC Cocktail Derby” and “Challenge Festival 2015”.
    All fields had content in them.

    artsmartlondon
    Participant

    I installed this new version, setup the api key etc as per your instructions. Could see the EB ticket options in the wordpress event post screen, filled it in as normal.
    When i save, it saves to wordpress ok, but isn’t posting to EB and there is no message at the top of the screen other than wordpress’s own save message.
    I had this problem when i installed 3.9.3 previously.

    in reply to: Error message activating Eventbrite 3.9.3 #959854
    artsmartlondon
    Participant

    No, clicking save changes in permalinks doesn’t work. Note that I have modified the code to allow me continue working as its throwing a fatal error on every page.

    Original code (line 412 / /wp-content/plugins/the-events-calendar-eventbrite-tickets/lib/tribe-eventbrite.class.php):

    				if ( empty( get_the_title( $event ) ) ){
    					return $this->throw_notice( $event, __( 'This Event requires a Title to sync to Eventbrite.', 'tribe-eventbrite' ), $_POST );
    				}
    

    This is what I changed it to:

    				$tmp_title = get_the_title( $event );
    				if ( empty( $tmp_title ) ){
    					return $this->throw_notice( $event, __( 'This Event requires a Title to sync to Eventbrite.', 'tribe-eventbrite' ), $_POST );
    				}
    in reply to: Error message activating Eventbrite 3.9.3 #959822
    artsmartlondon
    Participant

    I also just downloaded and installed the eventbrite addon, and received the exact same error. Help?

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