Migration Issues: Call to a member function getColumns() on a non-object

Permalink 2 users found helpful
Hi,

So i am using the Migration tool to mapping from 5.6 to 8.4

I have all the mappings setup, the file installed and no errors. When i proess the import to site button it starts to run then throws up this error.

Call to a member function getColumns() on a non-object

Details
concrete/src/Legacy/Model.php(78): Whoops\Exception\ErrorException->null

Can anyone help me?

TMDesigns
 
TMDesigns replied on at Permalink Reply
TMDesigns
I managed to get this working.

It turned out that i had to reimport my content and then try again. Second time around it all worked.
BHWW replied on at Permalink Reply
BHWW
When you say reimport, what did you do? i'm getting the exact same issue.

Thanks
TMDesigns replied on at Permalink Best Answer Reply
TMDesigns
Hi

I removed all the content from the batch and then reimported the xml and it worked fine.
BHWW replied on at Permalink Reply
BHWW
Thought that might be what you'd say, sadly didn't work for me. Thanks anyway.
TMDesigns replied on at Permalink Reply
TMDesigns
what version are you on?
BHWW replied on at Permalink Reply
BHWW
# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# concrete5 Packages
Migration Tool (0.9.0)
nickratering replied on at Permalink Reply
nickratering
I had the same, solved by:
1. - Export 'Mapping Definitions' XML file after mapping has all been set correctly
2. - Clear batch
3. - Re-import pages xml file from 5.6
4. - Import Mapping definitions from .1
5. - 'Rescan batch'
6. - Import batch to site

Hope this works for you as well!

Nick