The file / line it's telling you to look in is incorrect.
I'd start by disabling all your plugins and seeing if the error persists.
More likely however is the issue being inside a theme file. If disabling all the plugins doesn't resolve the error switch your theme to test.
You're seeing this issue on the new host because of a difference in error reporting. The issue will have been present on the old host but not shown to you.
Anyway let me know the results of the tests above and I'll adjust my answer accordingly.