Step 7 fails with PHP Fatal error: Cannot unset string offsets

mobiusnz - March 24, 2009 - 03:59
Project:Node import
Version:6.x-1.0-rc4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm trying to import content from a csv - everything is fine until step 7 where PHP throws an error:

[24-Mar-2009 16:34:58] PHP Fatal error:  Cannot unset string offsets in /hsphere/local/home/culturalprecinct/culturalprecinct.co.nz/sites/all/modules/date/date_repeat/date_repeat_form.inc on line 212

I am using 6.x-1.0-rc4, but I grabbed date.inc from cvs and put it in supported.
Any ideas on what is wrong?

#1

snorkers - May 14, 2009 - 23:54

I'm getting this PHP fatal error too:

Cannot unset string offsets in /sites/all/modules/date/date_repeat/date_repeat_form.inc on line 212

I'm currently running the latest DEV version of Date (and DEV version of Node import) and am not importing any date values from the import process... although the content type I'm importing too has repeat date options in the start/end date. I'll have a play with temporarily disabling date repeats in my content type and see if that allows me to run the import

#2

bstankie - August 17, 2009 - 02:43

I'm also getting the same error when attempting to import an event.

Using:
Date: 6.x-2.x-dev
Node Import: 6.x-1.x-dev
Calendar: 6.x-2.x-dev

Any help and/or guidance would be great!

Thanks.

#3

pengcognito - October 21, 2009 - 22:22

I'm getting the same thing, but with
image/contrib/image_attach/image_attach.module on line 343

My content type had imagefields but I got rid of them. They were optional fields and I wasn't using them in the set of data I'm importing.

 
 

Drupal is a registered trademark of Dries Buytaert.