Support » Plugin: Campaign Monitor Synchronization » Sync error (slightly different)

  • Resolved timbr

    (@brugman)


    Getting this error when sync’ing:

    Campaign Monitor synchronization error.
    Subscriber Import had some failures

    From campaignmonitor.com:

    210: Subscriber Import had some failures There were some failures when attempting to import some subscribers. You will need to inspect the ResultData property of the result for the full details of these failures.

    Cant you point me to the data that’s causing the problem? I’d rather not edit your plugin trying to find the right place to var_dump ResultData etc.

    https://wordpress.org/plugins/campaign-monitor-synchronization/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Carlo Roosen

    (@carloroosen)

    Hi Tim,
    I will try to answer your question shortly. Please tell me a bit more details like:

    – You used this plugin before, did this error occur suddenly on a working website?
    – Did this error also occur in the old version (https://wordpress.org/plugins/campaign-monitor-synchronisation/) ?

    Plugin Author Carlo Roosen

    (@carloroosen)

    A var dump is really the way to go. Most likely the error is caused by a wrong email address or something like that.

    This is how ResultData might look, it gives rather detailled information about the cause:

    “FailureDetails”: [
    {
    “EmailAddress”: “example+1@example”,
    “Code”: 1,
    “Message”: “Invalid Email Address”
    }
    ]

    It seems the error happens in file classes/CMS_Syncronizer.php most likely at line 202. Otherwise it could be line 117 or line 85.

    Thread Starter timbr

    (@brugman)

    Did I use it before: Barely. I hit sync once with more fields checked and it gave me a different error. I said to myself Id come back to it later. It’s being put in a new website, it hasn’t worked in the past if that’s what you’re asking.

    It might have been the old version, I know I reinstalled just to be sure I had the new one when I learned there were 2 out there.

    Which var can I var dump? And where?
    I tried $result, ResultData, $ResultData, FailureDetails and $FailureDetails, around line 100 in campaignmonitor-synchronization.php inside if ( isset( $_REQUEST['error'] ) ) but with no success.

    It might be a good idea to just incorporate this output in the plugin itself instead of just saying the sync didn’t work.

    Plugin Author Carlo Roosen

    (@carloroosen)

    Hi Tim,

    Good idea, we have implemented it as you suggested. Could you upgrade the plugin please?

    Cheers, Carlo

    Thread Starter timbr

    (@brugman)

    Thanks! Worked like a charm. I had 2 messed up email addresses in the user database and it pointed them out.

    Thread Starter timbr

    (@brugman)

    Resolved.

    Plugin Author Carlo Roosen

    (@carloroosen)

    He Tim,

    Great! Please write a short review.

    Carlo

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sync error (slightly different)’ is closed to new replies.