CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade 2.2.0 > 2.2.2 error when running an import (Fill)
Pages: [1]

Author Topic: Upgrade 2.2.0 > 2.2.2 error when running an import (Fill)  (Read 1121 times)

DamianBunn

  • Guest
Upgrade 2.2.0 > 2.2.2 error when running an import (Fill)
April 20, 2009, 10:46:52 pm
A bit more information : I did a reset and cleanup as per the instructions and do a fresh import. I only get one error now:

Fatal error: Cannot use string offset as an array in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 921

---------------------------------------------------------------------------------------------------------------------

I recently did the upgrade and now when I run an import I get lots of errors. Below is an extract of the last few lines:


Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 1441

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 1455

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 1455

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 1455

Fatal error: Cannot use string offset as an array in /home/britanni/public_html/trbcp/administrator/components/com_civicrm/civicrm/CRM/Import/Parser/Contact.php on line 921

When performing the upgrade I did not un-install the existing version of CiviCRM. I uploaded and installed which worked fine, then ran the database upgrade, again working fine and not reporting any errors.

Any help gratefully accepted.

TIA

Damian
« Last Edit: April 20, 2009, 10:56:26 pm by DamianBunn »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Upgrade 2.2.0 > 2.2.2 error when running an import (Fill)
April 22, 2009, 09:29:20 am
Damian,

Can you try to replicate this issue on http://joomla.demo.civicrm.org? We you are able to replicate it, do file an issue with sample csv file.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade 2.2.0 > 2.2.2 error when running an import (Fill)

This forum was archived on 2017-11-26.