sql error with packages.php

Permalink
Have tried to shift a site from on domain to a new domain and had no joy. The error log keeps showing the following package.php error:

[Wed Jun 29 21:33:25 2016] [error] [client 118.92.161.140] [host adrianbillphillips.co.nz] Backend fatal error: PHP Fatal error: Call to a member function query() on boolean in /var/www/vhosts/adrianbillphillips.co.nz/httpdocs/concrete/core/models/package.php on line 66\n

I have created locally an empty site and uploaded it with the same error message. I don't do code - other than the absolute basics and the few other sites I manage etc all work ok .. just not this one.

Anyone have any thoughts? The original site (adrianbillphillips.ashhurst.org) still works fine and have tried multiple deletes/overwrites/installs with basically the same result - nothing.

Any help greatly appreciated

thewebteam