# Notice: Undefined index: language\_direction

**URL:** <https://community.open-emr.org/t/notice-undefined-index-language-direction/12932>\
**Category:** Support\
**Created:** [October 3, 2019, 2:30pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932 "2019-10-03T14:30:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Golden\_Nguluwe](https://community.open-emr.org/user_avatar/community.open-emr.org/golden_nguluwe/32/13436_2.png) [@Golden\_Nguluwe](https://community.open-emr.org/u/Golden_Nguluwe)\
**Post date:** [October 3, 2019, 2:30pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/1 "2019-10-03T14:30:04Z")

</div>

**Situation**  
I a getting this notice **Notice** : Undefined index: language\_direction in **C:\xampp\htdocs\hms\src\Core\Header.php** on line **149** on the login page and when i login the interface is blank

**OpenEMR Version**  
Most recent version as of writing this

**Browser** :  
I’m using: Firefox and running it locally using latest XAMMP

**Operating System**  
I’m using:

**Logs**  
Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [October 3, 2019, 7:27pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/2 "2019-10-03T19:27:27Z")

</div>

hi @Golden_Nguluwe, did you disable notices? [https://www.open-emr.org/wiki/index.php/FAQ#What\_are\_the\_correct\_PHP\_settings\_.28can\_be\_found\_in\_the\_php.ini\_file.29.3F](https://www.open-emr.org/wiki/index.php/FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29.3F)

---

<div class="post-metadata">

**Author:** ![Golden\_Nguluwe](https://community.open-emr.org/user_avatar/community.open-emr.org/golden_nguluwe/32/13436_2.png) [@Golden\_Nguluwe](https://community.open-emr.org/u/Golden_Nguluwe)\
**Post date:** [October 3, 2019, 7:31pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/3 "2019-10-03T19:31:32Z")

</div>

Let me check will get back to you

---

<div class="post-metadata">

**Author:** ![zellerjohn](https://community.open-emr.org/letter_avatar_proxy/v4/letter/z/b3f665/32.png) [@zellerjohn](https://community.open-emr.org/u/zellerjohn)\
**Post date:** [October 5, 2019, 11:16pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/4 "2019-10-05T23:16:20Z")

</div>

I am also having the same issue, and I have the correct setting on php.ini file

---

<div class="post-metadata">

**Author:** ![zellerjohn](https://community.open-emr.org/letter_avatar_proxy/v4/letter/z/b3f665/32.png) [@zellerjohn](https://community.open-emr.org/u/zellerjohn)\
**Post date:** [October 7, 2019, 1:13am UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/5 "2019-10-07T01:13:49Z")

</div>

Really need help on this !!!

---

<div class="post-metadata">

**Author:** ![arvindjeenoor](https://community.open-emr.org/letter_avatar_proxy/v4/letter/a/779978/32.png) [@arvindjeenoor](https://community.open-emr.org/u/arvindjeenoor)\
**Post date:** [February 20, 2020, 10:18am UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/6 "2020-02-20T10:18:30Z")

</div>

Has anyone come up with a fix on this please?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [February 20, 2020, 2:22pm UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/7 "2020-02-20T14:22:57Z")

</div>

hi @arvindjeenoor, fix is above [Notice: Undefined index: language\_direction](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/2)

---

<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:** [February 21, 2020, 12:36am UTC](https://community.open-emr.org/t/notice-undefined-index-language-direction/12932/8 "2020-02-21T00:36:05Z")

</div>

To be more specific, In php.ini, you must set `display_errors` and `display_startup_errors` to `Off`. It seems you might’ve done this on accident when setting up PHP – this shouldn’t be turned on unless you know what you are doing. If you purposely turned this on, please add to the `error_reporting` variable `~E_NOTICE` to remove notices.
