# How to connect wordpress with openemr

**URL:** <https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937>\
**Category:** OpenEMR Development\
**Created:** [August 28, 2017, 11:17am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937 "2017-08-28T11:17:28Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 18, 2020, 7:16pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/22 "2020-05-18T19:16:17Z")

</div>

Yes, that is what I am saying. I was let go from my job (ugh, I think they did me a favor actually, I did not like their EMR, now I can work 100% with OpenEMR instead) and I am trying to setup my own thing.  
I would like to make it low cost, such that I need not transfer a huge markup to the patients/insurance companies (which I believe is partially causing the high cost of healthcare nowadays.) Also such that I need not turn anyone away.  
I would like to connect my new practice to the portal such that most of the patients can enter as much of the data as possible (not sure how much of this can really be done). Since I am really not having much to invest up front (nothing really, other than my hard work).  
I am stuck on the patient portal. I am stuck with the onsite portal with this error:

> Fatal Error:
> 
> ### Trying to access array offset on value of type bool in translation.inc.php at line 45
> 
> #### Original Stack Trace:
> 
> #0 /usr/local/www/openemr/library/translation.inc.php(45): ExceptionThrower::HandleError()  
> #1 /usr/local/www/openemr/library/htmlspecialchars.inc.php(138): xl()  
> #2 /usr/local/www/openemr/library/htmlspecialchars.inc.php(158): hsc\_private\_xl\_or\_warn()  
> #3 /usr/local/www/openemr/portal/patient/templates/ProviderHome.tpl.php(12): xlt()  
> #4 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(1022): include(‘/usr/local/www/…’)  
> #5 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(958): Savant3-\>fetch()  
> #6 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(944): Savant3-\>getOutput()  
> #7 /usr/local/www/openemr/portal/patient/fwk/libs/verysimple/Phreeze/SavantRenderEngine.php(69): Savant3-\>display()  
> #8 /usr/local/www/openemr/portal/patient/fwk/libs/verysimple/Phreeze/Controller.php(850): SavantRenderEngine-\>display()  
> #9 /usr/local/www/openemr/portal/patient/libs/Controller/ProviderController.php(51): Controller-\>Render()  
> #10 /usr/local/www/openemr/portal/patient/fwk/libs/verysimple/Phreeze/Dispatcher.php(169): ProviderController-\>Home()  
> #11 /usr/local/www/openemr/portal/patient/index.php(46): Dispatcher::Dispatch()  
> #12 {main}

> In addition to the above error, the default error template could not be displayed:  
> Trying to access array offset on value of type bool in translation.inc.php at line 45  
> #0 /usr/local/www/openemr/library/translation.inc.php(45): ExceptionThrower::HandleError()  
> #1 /usr/local/www/openemr/library/htmlspecialchars.inc.php(138): xl()  
> #2 /usr/local/www/openemr/library/htmlspecialchars.inc.php(158): hsc\_private\_xl\_or\_warn()  
> #3 /usr/local/www/openemr/portal/patient/templates/DefaultErrorFatal.tpl.php(9): xlt()  
> #4 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(1022): include(‘/usr/local/www/…’)  
> #5 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(958): Savant3-\>fetch()  
> #6 /usr/local/www/openemr/portal/patient/fwk/libs/savant/Savant3.php(944): Savant3-\>getOutput()  
> #7 /usr/local/www/openemr/portal/patient/fwk/libs/verysimple/Phreeze/SavantRenderEngine.php(69): Savant3-\>display()  
> #8 /usr/local/www/openemr/portal/patient/index.php(70): SavantRenderEngine-\>display()  
> #9 {main}

And with the wp cms portal, I am stuck because I have not been able to find a good tutorial. The old tutorial is not really working with openemr 5.0.2. The ninja forms kinda broke my installation. And some of the plugins no longer exists.

I am actually interested in updating the documentation too.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [May 18, 2020, 7:59pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/23 "2020-05-18T19:59:13Z")

</div>

Usually any issue with running onsite portal is because of rewrite. I don’t know if portal is running on anything other than apache. If is a nginx issue then be worthwhile solving.

I’m befuddled by exception. One, are you getting this from the Portal Dashboard?  
Have you tried logging into portal?

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 18, 2020, 8:03pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/24 "2020-05-18T20:03:30Z")

</div>

![onsite portal 1](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/0/05bd791918a62f3fe5efd494cf259c9ef38eb613.jpeg)

error is from misc → portal dashboard  
I use nginx

I am not able to login  
I get the option to reset credentials but nothing happens. can I create a user for login in? which are the user tables? For the onsite portal? I mean, how could I login as a provider?

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 18, 2020, 8:09pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/25 "2020-05-18T20:09:43Z")

</div>

![patient portal](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/c/cd27cf1a6f022c9e1acf9f3de616df023a318cd4.jpeg)

This is an outside view  
This is the reason I wanted to play around with the Nginx dockers, but those did not work for me this time.  
I would love to fix this problem.  
How do I create a login for a patient?  
I honestly just don’t remember how to do anything in openemr. I don’t even remember how to open a soap note.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [May 18, 2020, 8:23pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/26 "2020-05-18T20:23:46Z")

</div>

> [@gutiersa](#):
>
> error is from misc → portal dashboard

This troubles me but more on that later. F  
or now this is where the provider manages portal patient interactions such as review change audits/mail/chat and patient templates.

> [@gutiersa](#):
>
> I honestly just don’t remember how to do anything in openemr

Much has changed since you last used.  
To create a login you bring up patient chart then click create portal credentials. First you need to ensure patient has allow portal in choices and an email in both contact and secure(direct) email. Allow email will send credentials to patient email if practice has smtp setup in Notifications. I have a forum thread on this somewhere.

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 18, 2020, 8:28pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/27 "2020-05-18T20:28:47Z")

</div>

What I mean, is I have some test patients in the database, I can create credentials and add them to the tables via phpmyadmin to try to login from the patient portal to see if that is working.  
But I would need to know where to store the information in the tables. I could also just do it from inside openemr.  
If there is a working docker/nginx demo let me know. I will be happy to trouble shoot.

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 18, 2020, 8:46pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/28 "2020-05-18T20:46:19Z")

</div>

Yes, the problem seems to be with my rewrites.  
Nginx does things differently from apache. I need to look into it more. I am sure!

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [May 18, 2020, 9:17pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/29 "2020-05-18T21:17:38Z")

</div>

> [@gutiersa](#):
>
> But I would need to know where to store the information in the tables

patient\_access\_onsite but those passwords would need to be generated first as the are encrypted based on openemr keys.

> [@gutiersa](#):
>
> Yes, the problem seems to be with my rewrites

Still should be able to log into portal. Just wouldn’t work for profile review of patient documents. We also have demo servers set up with both portals access. You might be able to grab those databases for sample data. Unsure where Brady keeps that stuff.

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 19, 2020, 3:54am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/30 "2020-05-19T03:54:03Z")

</div>

I will try to set up another instance with apache. I’ll see if I can figure out what my problem is.  
Thanks so much.

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 27, 2020, 8:39pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/31 "2020-05-27T20:39:53Z")

</div>

Hi, I have been working on setting up a wp portal with some plugins. I can document it. How should I do that?

---

<div class="post-metadata">

**Author:** ![tywrenn](https://community.open-emr.org/user_avatar/community.open-emr.org/tywrenn/32/13562_2.png) [@tywrenn](https://community.open-emr.org/u/tywrenn)\
**Post date:** [May 29, 2020, 12:18am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/32 "2020-05-29T00:18:54Z")

</div>

I have a thought – in development is a patient portal API. We theoretically could just create a plugin that gets and fetches from that API which would make development so much easier

---

<div class="post-metadata">

**Author:** ![tywrenn](https://community.open-emr.org/user_avatar/community.open-emr.org/tywrenn/32/13562_2.png) [@tywrenn](https://community.open-emr.org/u/tywrenn)\
**Post date:** [May 29, 2020, 12:20am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/33 "2020-05-29T00:20:00Z")

</div>

Also now linking this to a GitHub issue thread:

> <https://github.com/openemr/openemr/issues/3571>
>
> Describe the bug
> All WordPress up-for-grabs demos, including 5.0.2, are broken. A 500 error occurs when trying to login to the admin...

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 29, 2020, 10:33am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/34 "2020-05-29T10:33:39Z")

</div>

API does seem to be the way to go.  
Looks like for the telehealth it will also work out with an API

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 29, 2020, 3:58pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/35 "2020-05-29T15:58:51Z")

</div>

You know, the more I look at this stuff, the more I this reminds me of cpan perl modules adn some of these remind me of pear modules and could there be maybe JSON and java stuff?? Maybe it’s a module management problem that I have.  
Is there a list of such modules?

BTW, I did set up another instance with apache 2.4. I did get the same error above.

---

<div class="post-metadata">

**Author:** ![sjpadgett](https://community.open-emr.org/user_avatar/community.open-emr.org/sjpadgett/32/21623_2.png) [@sjpadgett](https://community.open-emr.org/u/sjpadgett)\
**Post date:** [May 29, 2020, 6:12pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/36 "2020-05-29T18:12:05Z")

</div>

Some aspects of portal is modular however, you should not have this much problems setting up.  
Can you give me access to your site? I hate to see you go through all this!

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 29, 2020, 6:50pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/37 "2020-05-29T18:50:07Z")

</div>

Definitely. I’m not there now, but I will.  
Many other things do work. I did set up an eclipse environment since I’m interested in contributing.  
How do I get a hold of you?  
Teamviewer, ssh, ?? How would I give you access?

---

<div class="post-metadata">

**Author:** ![Mohammad](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@Mohammad](https://community.open-emr.org/u/Mohammad)\
**Post date:** [May 30, 2020, 2:53am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/38 "2020-05-30T02:53:44Z")

</div>

> [@gutiersa](#):
>
> wp portal

Did you try setting portal through ZH healthcare:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=KyyKzZTa1fE)

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 30, 2020, 5:42am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/39 "2020-05-30T05:42:01Z")

</div>

I have not, mostly because I wanted to host it myself. However, I can give it a try if anything to check for compatibility and functionality.

Thanks, Sandra

---

<div class="post-metadata">

**Author:** ![Mohammad](https://community.open-emr.org/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@Mohammad](https://community.open-emr.org/u/Mohammad)\
**Post date:** [May 30, 2020, 6:06pm UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/40 "2020-05-30T18:06:54Z")

</div>

No intention of being off subject but did you come across forms dealing with telemedicine intake, I did not see it in the forms in the installed openemr? SOAP or PHYSICAL forms may not satisfy the standard and meaningful use of telemedicine which will be the beneficiary of patient portal.

---

<div class="post-metadata">

**Author:** ![gutiersa](https://community.open-emr.org/user_avatar/community.open-emr.org/gutiersa/32/11958_2.png) [@gutiersa](https://community.open-emr.org/u/gutiersa)\
**Post date:** [May 31, 2020, 2:27am UTC](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937/41 "2020-05-31T02:27:24Z")

</div>

Well telemedicine notes are the same as regular notes. You just need to document consent for doing the visit via video or phone.  
I mean consent from the patient

[Previous page](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937.md?page=1)

[Next page](https://community.open-emr.org/t/how-to-connect-wordpress-with-openemr/8937.md?page=3)
