Since these are hooks I would recommend creating a new module for them instead of modifying ubercart_marketplace.
As for the default error. It's a simple PHP error probably having to do with too many (or not enough) closing brackets. You should be able to debug that yourself with minimal PHP knowledge.
