MySQL Schema: $db is not an instance of the vB Database class. This script requires the escape_string() method from the vB Database class.