Download & Extend

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

Project:Node import
Version:6.x-1.0-rc4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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?

Comments

#1

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

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

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.

#4

Have the same problem. Did the same as pengcognito and also now seems to work.

#5

I had to disable the image attach to get my import to work. This has been a problem for awhile and really needs to be fixed. It sucks that the moderator never replies to these threads.

#6

HI there,

I'm also getting a fatal error:

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

Trying to import a _huge_ list of dates into a calendar. I'll cry if I have to manually type them in - there are thousands of them!

#7

Please see #374346: Can't import date values into Date module fields for possible solutions... especially comment #133.

nobody click here