• Resolved lmcc

    (@lmcc)


    It doesn’t matter what schedule I set the events to sync/update from, they will only sync if I go into the dashboard and settings for the plug-in and click the ‘Update’ button. Everything syncs fine when I do that, but it is not happening automatically.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Franky

    (@liedekef)

    Wordpress cron only works when someone visits your site.
    On the other hand: try to clear the stored session cache (a button in the plugin settings) and press save again.

    Plugin Author Franky

    (@liedekef)

    And do you find something in the webserver logs? Maybe some indication of a problem?
    I’ll try some more here too

    Thread Starter lmcc

    (@lmcc)

    I also have WP Cron Events installed and I even run the event from within WP Cron and the events don’t update/resync. I’ve had this problem with this plug-in ever since I installed it probably a year ago and just never thought to post a comment here.

    Plugin Author Franky

    (@liedekef)

    Then read this thread:
    https://www.ads-software.com/support/topic/php-fatal-error-call-to-undefined-function-wp_read_image_metadata/

    ==> I never got a feedback again, but I think I might have found it. It seems to be an include missing (not needed apparently when running directly, but it seems in cron it is not included)
    Could you try this change:
    https://plugins.trac.www.ads-software.com/changeset/1833300/

    Thread Starter lmcc

    (@lmcc)

    My error log file doesn’t have much of anything in it, but what is in it is:

    [10-Dec-2017 01:13:00 UTC] PHP Fatal error: Uncaught Facebook\Exceptions\FacebookServerException: An unexpected error has occurred. Please retry your request later. in /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/Exceptions/FacebookResponseException.php:105
    Stack trace:
    #0 /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/FacebookResponse.php(210): Facebook\Exceptions\FacebookResponseException::create(Object(Facebook\FacebookResponse))
    #1 /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/FacebookResponse.php(255): Facebook\FacebookResponse->makeException()
    #2 /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/FacebookResponse.php(82): Facebook\FacebookResponse->decodeBody()
    #3 /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/FacebookClient.php(224): Facebook\FacebookResponse->__cons in /home/XXXXXX/public_html/wp-content/plugins/eme-sync-facebook-events/Facebook/facebook-php-sdk-v5.0.0/Exceptions/FacebookResponseException.php on line 105

    Plugin Author Franky

    (@liedekef)

    @mlplus: good to hear! The change will be in the next version.
    @lmcc: it seems something is wrong with the sync from cron, but if it works manually it means nothing is wrong with your fb-urls set, but it might be your facebook session cache.
    Try to clear the stored session cache (a button in the plugin settings), add/remove an url and press save again.

    Plugin Author Franky

    (@liedekef)

    An example fb url I can try?

    Plugin Author Franky

    (@liedekef)

    Tried it here: seems to work fine (new event and new location get created and location gets linked to the event). What are your settings in eme sync for existing locations/events?
    Also: I saw that when running via cron manager, the sync always returned an error (just because extra output was given along). The next version will fix that too.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @mlplus Pleas don’t hijack someone else’s topic. If you need support then per the forum guidelines please start your own topic.

    https://www.ads-software.com/support/guidelines/#post-in-the-best-place

    You can do so here.

    https://www.ads-software.com/support/plugin/eme-sync-facebook-events/#new-post

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Events don’t sync Automatically’ is closed to new replies.