• Resolved Insight Dezign

    (@insightdezign)


    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

    (@jonathanstegall)

    @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.