Answers.Body: <p>The issue was due to unexpected multiple contact types in the same import file. Resolved by splitting import files by contact type.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-18T03:27:55.803Z
Answers.LastActivityDate: 2016-06-06T15:39:55.200Z
Answers.LastEditDate: 2016-06-06T15:39:55.200Z
Answers.UserDisplayName: Jambo
Body: <p>This might be a silly question - how do I import notes into existing contacts? I tried importing data to the Note field with the related <code>Contact ID</code>, which results in the following warnings - with no visible alterations to the records I'm trying to update. I can import memberships and activities but can't find the option for Notes anywhere.</p>
  
  <blockquote>
    <blockquote>
      <p>Warning: Illegal string offset 'code' in /wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 969</p>
      
      <p>Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php:969) in /wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 895*</p>
    </blockquote>
  </blockquote>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-18T03:24:14.047Z
Comments.Text: I just tried in on the demo for wp 4.7.2 and it worked.  I had a cvs file with two columns: id, note.  I imported to individuals and did an update.  It automatically matched to the columns to internal identifier and note.  So what are the steps you are using?
Comments.UserDisplayName: Paul-Tahoe
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-18T03:29:03.267Z
Comments.Text: Brackets all through the data. You are correct Paul, thank you for responding so quickly
Comments.UserDisplayName: Jambo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-18T03:39:23.313Z
Comments.Text: I do not know why the error, some data is imported, some isn't. There is no great difference between the type of characters in those that succeeded and those that failed. I started checking at the first record of my csv and it failed, but some further on worked OK. So I have 2000 odd contacts to review and check the Notes on. No clue why this happened, although I thought it was special chars, but it's not.
Comments.UserDisplayName: Jambo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-18T16:06:14.787Z
Comments.Text: Are some of your notes excessively lengthy?  If so, perhaps Civi is not happy with the amount of data that you're trying to insert.  Additionally, I'm not sure how many records you're trying to import/update at once, but you might consider breaking it up into smaller chunks, especially if there _is_ some lengthy data in there.
Comments.UserDisplayName: Lesley Carter - BackOffice
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-19T06:56:41.843Z
Comments.Text: Thank you Lesley, I did break the data down to run a couple of tests and they worked fine. I also have the suspicion, which I am yet to confirm, that there is at least one rogue entry. I am thinking it is an issue with the contact type rather than the length of the data. Will investigate further and revert.
Comments.UserDisplayName: Jambo
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-22T12:50:17.737Z
Comments.Text: Is the Contact ID necessary? I'm preparing import from previous dB and need to add 2Do notes without yet knowing the Contact ID.
Comments.UserDisplayName: ñull
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-22T13:04:30.540Z
Comments.Text: What about the Note Subject, Body and Privacy? In the Joomla 4.6 demo I did not see field selectors for these.
Comments.UserDisplayName: ñull
Tags: <import><4.7>
Title: How to import notes?
ThreadText: # How to import notes?
  
  (Asked by: username_0 on 2016-02-18)
  
  This might be a silly question - how do I import notes into existing contacts? I tried importing data to the Note field with the related `Contact ID`, which results in the following warnings - with no visible alterations to the records I'm trying to update. I can import memberships and activities but can't find the option for Notes anywhere.
  
  > > Warning: Illegal string offset 'code' in /wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 969
  > >
  > > Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php:969) in /wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 895\*
  
  **Tags:** import, 4.7
  
  > **Comments:**
  > **username_1**: I just tried in on the demo for wp 4.7.2 and it worked.  I had a cvs file with two columns: id, note.  I imported to individuals and did an update.  It automatically matched to the columns to internal identifier and note.  So what are the steps you are using?  
  > **username_0**: Brackets all through the data. You are correct Paul, thank you for responding so quickly  
  > **username_0**: I do not know why the error, some data is imported, some isn't. There is no great difference between the type of characters in those that succeeded and those that failed. I started checking at the first record of my csv and it failed, but some further on worked OK. So I have 2000 odd contacts to review and check the Notes on. No clue why this happened, although I thought it was special chars, but it's not.  
  > **username_2**: Are some of your notes excessively lengthy?  If so, perhaps Civi is not happy with the amount of data that you're trying to insert.  Additionally, I'm not sure how many records you're trying to import/update at once, but you might consider breaking it up into smaller chunks, especially if there _is_ some lengthy data in there.  
  > **username_0**: Thank you username_2, I did break the data down to run a couple of tests and they worked fine. I also have the suspicion, which I am yet to confirm, that there is at least one rogue entry. I am thinking it is an issue with the contact type rather than the length of the data. Will investigate further and revert.  
  > **username_3**: Is the Contact ID necessary? I'm preparing import from previous dB and need to add 2Do notes without yet knowing the Contact ID.  
  > **username_3**: What about the Note Subject, Body and Privacy? In the Joomla 4.6 demo I did not see field selectors for these.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-02-18. Score: 1
  
  The issue was due to unexpected multiple contact types in the same import file. Resolved by splitting import files by contact type.
  
  
  ---
  
  