Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ndna02

    (@ndna02)

    And it turns out you were right.
    There was a plugin on the wordpress called WP-Cron Control. It was interfering with the cron execution. Once I disabled it, the problem was solved.
    Thank you so much for your help !

    • This reply was modified 7 years, 1 month ago by ndna02.
    Thread Starter ndna02

    (@ndna02)

    Thank you for the quick response,
    I am trying to pull record objects from salesforce and map them as custom type wordpress posts. (The goal being to add a new post every time there is an object added to the salesforce record)
    The wordpress objects is called “job”
    The salesforce objects is called “Job”
    I allowed every record types, and chose “Create Date” as a date field to trigger pull.

    I have only been trying to fill 1 field, as of now:
    wordpress field : post_name
    salesforce field : vacancy name
    I have tried with prematch both on and off, and didn’t set a salesforce key
    The direction is “salesforce to wordpress”
    At first, I only allowed Salesforce create/update/delete action triggers, but eventually allowed every single triggers, thinking maybe it was my mistake, to no avail.

    I did follow your suggestion to try and push from wordpress to Salesforce, and it worked. I got a success debug post and the object was created in my salesforce record.
    However, when I tried it again and checked the “process asynchronously” checkbox, the record was not created, the action just seemed to stay enqueued indefinitely in the push queue, and it didnt fire, even when I ran the cron manually. I think you were onto something when you suggested it could be a cron issue.

    Thread Starter ndna02

    (@ndna02)

    Hi,
    I just followed those steps, but it didn’t fix my issue with not being able to trigger pull. The callbacks are still not firing and I am still not able to get records from salesforce.
    Do you have any idea where I could have gone wrong ?
    Thank you in advance !

    Thread Starter ndna02

    (@ndna02)

    Following those steps cause me to not be able to create a fieldmap anymore.
    There is a red alert area on the top of the page, but it is empty (no error message).
    However, I did find the following in my debug.log :

    WordPress database error Table ‘pantheon.wp_challobject_sync_sf_field_map’ doesn’t exist for query SELECT id, label, wordpress_object, salesforce_object, salesforce_record_types_allowed, salesforce_record_type_default, fields, pull_trigger_field, sync_triggers, push_async, push_drafts, weight, version FROM wp_challobject_sync_sf_field_map made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/object-sync-for-salesforce/object-sync-for-salesforce.php’), Object_Sync_Salesforce::get_instance, Object_Sync_Salesforce->__construct, Object_Sync_Salesforce->push, Object_Sync_Sf_Salesforce_Push->__construct, Object_Sync_Sf_Salesforce_Push->add_actions, Object_Sync_Sf_Mapping->get_fieldmap

    This is the error I fixed by creating the table manually.

Viewing 4 replies - 1 through 4 (of 4 total)