Title: Custom Object Sync debug
Last modified: February 17, 2019

---

# Custom Object Sync debug

 *  Resolved [Insight Dezign](https://wordpress.org/support/users/insightdezign/)
 * (@insightdezign)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-object-sync-debug/)
 * Can you help me figure this out. I have a custom object in Salesforce called 
   Community Content with a record type of video. There are 41 records but only 
   25 are synced. I’m getting the following error in Tools->Scheduled Actions:
 * 2019-02-17 07:49:52 +0000
    unexpected shutdown: PHP Fatal error Uncaught Error:
   Function name must be a string in /home/musican2/carecommunity.musicandmemory.
   org/wp-content/plugins/object-sync-for-salesforce/classes/wordpress.php:1201 
   Stack trace: #0 /home/musican2/carecommunity.musicandmemory.org/wp-content/plugins/
   object-sync-for-salesforce/classes/wordpress.php(584): Object_Sync_Sf_WordPress-
   >post_create(Array, ‘ID’, ‘video’) #1 /home/musican2/carecommunity.musicandmemory.
   org/wp-content/plugins/object-sync-for-salesforce/classes/salesforce_pull.php(
   1520): Object_Sync_Sf_WordPress->object_create(‘video’, Array) #2 /home/musican2/
   carecommunity.musicandmemory.org/wp-includes/class-wp-hook.php(286): Object_Sync_Sf_Salesforce_Pull-
   >salesforce_pull_process_records(‘Community_Page_…’, Array, Array, 8) #3 /home/
   musican2/carecommunity.musicandmemory.org/wp-includes/class-wp-hook.php(310):
   WP_Hook->apply_filters(”, Array) #4 /home/musican2/carecommunity.musicandmemory.
   org/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #5 /home/musican2/
   carecommunity.musicandmemory.org in /home/musican2/carecommunity.musicandmemory.
   org/wp-content/plugins/object-sync-for-salesforce/classes/wordpress.php on line
   1201

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-object-sync-debug/#post-11256595)
 * [@insightdezign](https://wordpress.org/support/users/insightdezign/) I think 
   you have an array when WordPress expects a string. Here’s what the wordpress.
   php class contains at line 1201:
 * `$meta_id = $method( $post_id, $key, $value['value'] );`
 * Are you calling a filter here? What is it doing?

Viewing 1 replies (of 1 total)

The topic ‘Custom Object Sync debug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/custom-object-sync-debug/#post-11256595)
 * Status: resolved