Fatal error: Call to undefined function entityreference_get_behavior_handlers()

This is the error due to entity reference module. Please apply the patch https://drupal.org/files/entityreference-1459540-47-workaround-fatal-error.patch and then run the update.php i.e
yourwebsite.com/update.php to solve this problem.