• Hi,

    Hoping you can point me in the right direction at least.

    I have your plugin connected and authorised and I want to pull event information stored in Salesforce over to WordPress.

    Is the Salesforce object for events a set name?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Well, this kind of depends on what your Salesforce structure is like. If you have the plugin configured correctly and you go to add a new fieldmap (/wp-admin/options-general.php?page=object-sync-salesforce-admin&tab=fieldmaps&method=add in your WordPress install), the “Salesforce Object” dropdown will show you all of the Salesforce objects that the plugin can access.

    Thread Starter 418design

    (@webfactoryuk)

    Appreciate the reply to my vague question!!

    I worked out the correct Object, or at least it seems to then make the right set of fields available.

    I tried assigning the ‘Activity Name’ option to Post Title in my Events CPT. Saved the plugin and now the site wont load with the plugin enabled.

    I cant see a way to reset it either?

    I was so close! lol

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I don’t think I necessarily understand the situation, but if your site won’t load, you should check your error logs. If there are PHP errors that are happening, try to identify what they are and what might be causing them.

    Thread Starter 418design

    (@webfactoryuk)

    I saved settings in your plugin and it just crashed. There is nothing being written to the error log. I just have to disable the plugin.

    How can I reset it to try again?

    Actually I did find this but its from November so dont think this is the current problem.

    [22-Nov-2022 13:59:31 UTC] PHP Fatal error:  Uncaught TypeError: DateTime::__construct() expects parameter 1 to be string, array given in /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php:336
    Stack trace:
    #0 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php(336): DateTime->__construct(Array, Object(DateTimeZone))
    #1 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(114): as_get_datetime_object(Array)
    #2 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(149): ActionScheduler_ActionFactory->single_unique('object_sync_for...', false, Array, 1669125571, 'salesforce_pull...')
    #3 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-s in /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php on line 336
    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    If you’re not seeing any PHP errors, I don’t think I can offer much advice. If saving the settings were causing a crash, there would be errors.

    Thread Starter 418design

    (@webfactoryuk)

    Sorry, I was away for a few days. I have a few hundred sites so I know you don’t always get errors in the log.

    Can you at least maybe explain which tables I can remove to try again? Hopefully it was a blip.

    Thread Starter 418design

    (@webfactoryuk)

    I just realised, I did post an error. I assume this is from when the plugin first crashed and it hasnt added anything since. How do I fix this?

    [22-Nov-2022 13:59:31 UTC] PHP Fatal error: Uncaught TypeError: DateTime::__construct() expects parameter 1 to be string, array given in /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php:336
    Stack trace:

    0 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php(336): DateTime->__construct(Array, Object(DateTimeZone))

    1 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(114): as_get_datetime_object(Array)

    2 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php(149): ActionScheduler_ActionFactory->single_unique(‘object_sync_for…’, false, Array, 1669125571, ‘salesforce_pull…’)

    3 /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-s in /home/staging418/public_html/selfa/wp-content/plugins/object-sync-for-salesforce/vendor/woocommerce/action-scheduler/functions.php on line 336

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Which Salesforce object to sync event info’ is closed to new replies.