CiviCRM 4.7 - DB Constraint Violation - possibly dashboard_id should possibly be marked as mandatory for this API
Maybe you can try to run the upgrade script again to go from 4.7.10 to 4.7.12

http://&lt;your_wordpress_home&gt;/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/upgrade&amp;reset=1


Documented on the  Wiki Upgrading CiviCRM for Wordpress .