hodyhong
Forum Replies Created
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] WP to SF and SF to WP Create issue@jonathanstegall I found the reason!
Apparently, previously I have checked “Prematch” on one of the custom field to prematch the contact ID. This may have caused the problem, as there is no value in the custom field to prematch from. And with the “prematch” checked, the contact cannont be created in salesforce. I unchecked and user has been created successfully. Bingo!Now creating contact in SF still didn’t get sync over in WP. I will play with the interrupt and see what I can find.
Cheers
HForum: Plugins
In reply to: [Object Sync for Salesforce] WP to SF and SF to WP Create issueStrangely, after updating to version 1.6 (I only just realise I was behind), the Unsert Salesforce Contact error has become a success message. Even though there is no Salesforce Contact being created. The above error only started to occur after ugrading the plugin to version 1.6, whenever there is a new user created in WP.
Forum: Plugins
In reply to: [Object Sync for Salesforce] WP to SF and SF to WP Create issueI have another server error log in the home folder, which shows the following:
[17-Jan-2019 15:21:16 UTC] WordPress database error Duplicate entry '' for key 'salesforce' for query UPDATE 'wp2018_object_sync_sf_object_map' SET 'id' = '589', 'wordpress_id' = '589', 'salesforce_id' = NULL, 'wordpress_object' = 'user', 'created' = '2019-01-18 02:21:14', 'object_updated' = '2019-01-18 02:21:14', 'last_sync' = '2019-01-18 02:21:14', 'last_sync_action' = 'push', 'last_sync_status' = '1', 'last_sync_message' = 'Mapping object updated via function: salesforce_push_sync_rest' WHERE 'id' = '589' made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Object_Sync_Sf_Salesforce_Push->salesforce_push_sync_rest, Object_Sync_Sf_Mapping->update_object_map
I think the Duplicate Entry is one of the issue at fault. Do you have any idea what may have cause this?
Forum: Plugins
In reply to: [Object Sync for Salesforce] WP to SF and SF to WP Create issueThanks Johnathan, let me give it a go and report back. Cheers
H
Forum: Plugins
In reply to: [Object Sync for Salesforce] WP to SF and SF to WP Create issueHi Jonathan,
Thanks so much for your reply. It is indeed quite odd. I couldn’t locate any other error log identifying the API failing. Is there anyway that I might be able to place an interrupt or some sort, so that I can see what may have cause this.
Would Salesforce have some error log somewhere?
Cheers
Hody
Here is what I have in page.xml:
<block type=”core/template” name=”givoni.mybag” as=”givoniMybag” template=”givoni/mybag.phtml”/>
And here is the code in WP template I was trying to call:
<?php the_block(“givoni.mybag”); ?>
Do I need to do anything extra?
Also I have found that if I have custom code in my own templates, eg for the block “top.link” , when I call that block in WP, it will just return the base template instead of my custom template.
Let me know. Thanks a lot for the help.
Cheers
Hody
[ Please do not bump, that’s not permitted here. ]
any one any idea?