This looks like a very old version of site import. Have you installed the latest version? That line of code in the error isn't in the product anymore and hasn't been for many years it looks like. You should be eligible for an upgrade to design extender for just $99. That has a newer version of site import that shouldn't have this issue as well as a lot of other new features and updates you don't have now.