php does not like creating stdClass objects without constructor any more so changed the multiple database connection configuration