Error importing from Google Calendar

Home Forums Calendar Products Events Calendar PRO Error importing from Google Calendar

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1429412
    peterson.timothy
    Participant

    Hello!

    I’m getting an error when I try to setup a scheduled google calendar import.

    I put in the details and the right calendar url (I tested it on our dev server) and then hit preview. The spinner will spin and nothing happens.

    The console gives me this error:

    XML Parsing Error: syntax error
    Location: http://sitename/wp-admin/admin-ajax.php?action=tribe_aggregator_create_import
    Line Number 12, Column 50:

    Thoughts?

    Thanks!

    #1430515
    Victor
    Member

    Hi Peterson!

    Thanks for reaching out to us! Let me help you with this topic.

    Could you please share with us (in a private reply if you’d like) the gCal URL where you are trying to import events from? We’ll run some tests on our end and see if we can reproduce.

    Also, could you please enable WP_DEBUG and WP_DEBUG_LOG ? This will create a debug.log file inside the /wp-content directory.

    After that, try reproducing the issue a few times, so that in case there is an error, it will be saved into the debug.log file. Please share that log file with us so we can see if any problem from there.

    Thanks,
    Victor

    #1430865
    peterson.timothy
    Participant

    This reply is private.

    #1432217
    Victor
    Member

    Hi Peterson!

    Thanks for coming back with the URL.

    I ran a few tests and the preview is working for me without any errors.

    We think this could be caused by a PHP error and as a result it throws off the JS parsing error. Please let us know about the debug.log file, this will mostly sure let us know where the error is coming from.

    Thanks,
    Victor

    #1436618
    peterson.timothy
    Participant

    Hello! Finally got some debug errors.

    Uncaught Error: Call to undefined method WP_Error::get_data_hash() in /var/www/html/siteurl/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/Abstract.php:124
    Type: PHP Fatal error
    File: /var/www/html/siteurl/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/Abstract.php

    Thanks!

    #1436893
    Victor
    Member

    Hi Peterson!

    Thanks for coming back with the error logs.

    I will reach out to the dev team to have a look at this and will get back to you as soon as I have something.

    Please hang in there.

    Thanks,
    Victor

    #1437508
    peterson.timothy
    Participant

    More debug info:

    [26-Jan-2018 02:42:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data_hash() in /var/www/html/sitename/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/Abstract.php:124
    Stack trace:
    #0 /var/www/html/sitename/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/New.php(89): Tribe__Events__Aggregator__Tabs__Abstract->handle_submit()
    #1 /var/www/html/sitename/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/New.php(449): Tribe__Events__Aggregator__Tabs__New->handle_submit()
    #2 /var/www/html/sitename/wp-includes/class-wp-hook.php(286): Tribe__Events__Aggregator__Tabs__New->ajax_create_import(”)
    #3 /var/www/html/sitename/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #4 /var/www/html/sitename/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /var/www/html/sitename/wp-admin/admin-ajax.php(97): do_action(‘wp_ajax_tribe_a…’)
    #6 {main}
    thrown in /var/www/html/sitename/wp-content/plugins/the-events-calendar/src/Tribe/Aggregator/Tabs/Abstract.php on line 124

    #1446253
    Victor
    Member

    Hi Peterson!

    Thanks for following up with this.

    First, let me apologise for the delay in getting back to you. We’ve been out on our annual team trip and we are slowly getting back to normal response times.

    I see you have tried the following:

    • Deactivated all other plugins? Yes
    • Switched to a default theme? Yes

    Just to confirm we are not dealing with a theme or plugin conflict. Did you happen to notice a difference when deactivating all other plugins or switching to a default WordPress theme, like Twenty Seventeen? What happens if you try deactivating all plugins and switching to the Twenty Seventeen theme together? Do you notice a difference then?

    If you see no difference in those conditions, then we’ll need to do some deeper troubleshooting.

    We suggest you setup a dev/staging site so you can make all these tests without disrupting the live site. We also encourage to make a full backup of your site, both database and files so in case something goes wrong you can always restore your site.

    Please let me know how that goes.

    Thanks,
    Victor

    #1467197
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Error importing from Google Calendar’ is closed to new replies.