Importing Topic Trees via Full Content Swap
Permalink
I have some Topics that I want to import via the Content Swap functionality using the content.xml file. It works fine for the most part. When I try to import a Topic Tree it throws an error.
The format of the XML to be imported is:
The error message is:
Whoops\Exception\ErrorException thrown with message "Call to a member function getRootTreeNodeObject() on a non-object"
Stacktrace:
#0 in /opt/lampp/htdocs/sample_content/concrete/src/Tree/Tree.php:83
Might this be a naming conflict? Too many trees?
The format of the XML to be imported is:
<trees> <tree type="topic" default="1"> <topic_category name="Concrete5"> <topic name="General"/> <topic name="Design"/> <topic name="Development"/> <topic name="Intro"/> </topic_category> <topic_category name="Wordpress"> <topic name="General"/> <topic name="Design"/> <topic name="Development"/> </topic_category> <topic_category name="Joomla"> <topic name="General"/>
Viewing 15 lines of 20 lines. View entire code block.
The error message is:
Whoops\Exception\ErrorException thrown with message "Call to a member function getRootTreeNodeObject() on a non-object"
Stacktrace:
#0 in /opt/lampp/htdocs/sample_content/concrete/src/Tree/Tree.php:83
Might this be a naming conflict? Too many trees?