WordPress 3.5 made the use of a second argument required in 'wpdb::prepare()' method. As a consequence, this method cannot be used anymore without anything to replace.
In Domain Mapping 3.1.4, there are at least 3 places where the method is called without the required arguments:
- class.domainmap.php line 860
- class.domainmap.php line 876
- class.domainmap.php line 1083
The easiest way to fix the issue is to remove the call of the method (execute the queries without replacements).