A server error occurred

Call to a member function format() on string (View: /home/salons21/webapps/childcarecenter/resources/views/provider/view.blade.php)