Hey guys,
I’m trying to import data via a CSV file.
I have tried to use the package “medienreaktor/import”. But this has not been updated for 3 years and gives me the following error after assigning the CSV fields:
Call to a member function createNodeFromTemplate() on null
Do any of you have experience with another package or a self-built script?
I don’t know where to start
Thank you for your help
Julian
1 Like
Hey Julian,
What did you put in for the parent node identifier?
I think that is where your mistake is.
Greetings
Robin Roloff from medienreaktor
1 Like
Hi Robin,
Thanks for the quick response.
I put the identifier of my homepage in there. For testing, it’s ok to create the sites there. Or does that produce the error?
Greetings
Julian
Hi Julian,
If you are putting in an identifier of a node, you have to put a ‘#’ in front of it.
That way the FlowQuery that is executed knows that you are searching for a node by its id.
Hope this helps!
Greetings
Robin
1 Like
That worked. To be honest, I feel a little stupid
After I hit import, I got a white page. I don’t know if that’s how it’s supposed to be?
I logged in again and the pages were imported
To give the pages a title, I need to define that in the CSV separately, right?
Thanks for your help
Julian