Query working on localhost and not live server

I can go up to 7.1 on the server

Updated to 7.1 to test and it seems like something changed - my vars on page is just giving a little problem now. checking that - might be the solution - the php version - will fix, test and report back soon

PHP version update fixed it - 5.6 -> 7.1

not sure what the minimum requirements are for server connect and if this issue was just my custom query that messed it up.

Thanks for support @patrick and @Teodor

Server Connect requires at least PHP 5.4. I think in your case it was perhaps the PDO driver for the database that required a newer version for this specific action.