Marketpress and Appointments are causing 500 errors

Every time I activate Marketpress or Appointments I am getting 500 errors on my site.

Before deleting them I also got the following errors.