This is because I converted the include files to MySQLi and they now require the pages they are included on to have the correct MySQLi recordsets to reference them.
You will have to update the pages to mySQLi or go back to the mySQL version of the include files.