Closed (fixed)
Project:
Node import
Version:
6.x-1.0-rc4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2009 at 21:43 UTC
Updated:
20 Apr 2009 at 08:40 UTC
I received the following:
Fatal error: Only variables can be passed by reference in ..../sites/all/modules/node_import/node_import.inc on line 588
I noticed it only happens when importing to my "Contact" content type (a custom content type created in CCK.) My suspicion is that it's because of the computed field, but I'll have to play around to see what's causing the issue.
Comments
Comment #1
Mac Clemmens commentedNote, this is between steps 6 and 7. It didn't appear to be related to the computed field. I'll keep investigating...
Comment #2
Mac Clemmens commentedOn another content type, I am able to import without the fatal error, but I'm getting another error. The field_provider array looks a little fishy. Note I uploaded both 93 in the Provider field and the title of the Nodereference field, but both returned this error. Tried making the CCK field multivalue and 1 value also, to no avail.
Provider: found no valid post with that title.
Update: Still getting the error, but nevermind about the structure looking fishy. Saw the comment in node_import/supported/cck/nodereference.inc. :
Update #2 Fixed nodereference import by changing the nodereference widget to select list instead of autocomplete widget.
Comment #3
Mac Clemmens commentedFigured it out. The error was caused by a multiline text field that had been assigned an input format. When I changed it to plain text, I no longer got the error. Hope this helps someone, somewhere. If you have any questions for me to help track down the error, let me know. Whew!
Comment #4
presleyd commentedI'm having this issue too, I can't for the life of me figure out what's causing it though because it's not multiline text fields, both of those are definitely set to plain text input formats.
Comment #5
presleyd commentedIn my case this seems to be the result of have a User reference field with auto complete widget. Select widget seems ok.
Comment #6
catchHad the same error with an unlimited value file field. Reducing it to one value worked fine. Didn't get very far tracking down why it was happening though.
Comment #7
Robrecht Jacques commentedPass by reference error fix has been committed to CVS. Will be included in -rc5.