# Fatal error : Uncaught Error: Call to undefined method Document::get\_url\_web()

**URL:** <https://community.open-emr.org/t/fatal-error-uncaught-error-call-to-undefined-method-document-get-url-web/15948>\
**Category:** Support\
**Created:** [January 31, 2021, 2:42am UTC](https://community.open-emr.org/t/fatal-error-uncaught-error-call-to-undefined-method-document-get-url-web/15948 "2021-01-31T02:42:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Julie\_b](https://community.open-emr.org/user_avatar/community.open-emr.org/julie_b/32/13325_2.png) [@Julie\_b](https://community.open-emr.org/u/Julie_b)\
**Post date:** [February 2, 2021, 8:14am UTC](https://community.open-emr.org/t/fatal-error-uncaught-error-call-to-undefined-method-document-get-url-web/15948/2 "2021-02-02T08:14:09Z")

</div>

Did you upgrade and copy your documents over from another install?

I have had this happen when I forgot to delete the smarty folder from sites/default/documents

---

_[View the full topic](https://community.open-emr.org/t/fatal-error-uncaught-error-call-to-undefined-method-document-get-url-web/15948)._
