Unable to set unused on UOR under demographic

Situation
I tried to edit layout of demographic and set some to “unused” because I don’t need it. However, after clicked on [save changes] it did not save. I noticed the only two categories that aren’t working are Stats and Guardian.
This is a fresh installation of OpenEMR.

However, when tried the demo of 5.0.1 with website https://demo.openemr.io/c/openemr/interface/login/login.php?site=default, I was able to set it to unused.

OpenEMR Version
I’m using OpenEMR version openemr-php7_5.0.1-2 with patch 5-0-1-Patch-4.zip installed.

I’ve tried before installing the patch and after installing the patch both results are the same.

Browser:
Firefox and Chrome

Operating System
I’m using: Linux Mint 19 xfce.

Edit: Added Error Logs

  • [Sun Jul 22 15:22:44.633596 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: edit_options in /var/www/openemr/interface/super/edit_layout.php on line 392, referer: http://localhost/
  • [Sun Jul 22 15:22:44.633624 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: validation in /var/www/openemr/interface/super/edit_layout.php on line 396, referer: http://localhost/
  • [Sun Jul 22 15:22:44.778527 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: action in /var/www/openemr/interface/super/edit_layout.php on line 350, referer: http://localhost/
  • [Sun Jul 22 15:22:44.778653 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: validation in /var/www/openemr/interface/super/edit_layout.php on line 396, referer: http://localhost/
  • [Sun Jul 22 15:22:44.934623 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: action in /var/www/openemr/interface/super/edit_layout.php on line 350, referer: http://localhost/
  • [Sun Jul 22 15:22:44.934744 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: validation in /var/www/openemr/interface/super/edit_layout.php on line 396, referer: http://localhost/
  • [Sun Jul 22 15:22:45.101982 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: action in /var/www/openemr/interface/super/edit_layout.php on line 350, referer: http://localhost/
  • [Sun Jul 22 15:22:45.102120 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: validation in /var/www/openemr/interface/super/edit_layout.php on line 396, referer: http://localhost/
  • [Sun Jul 22 15:22:45.264310 2018] [php7:notice] [pid 2454] [client 127.0.0.1:55962] PHP Notice: Undefined index: basePath in /var/www/openemr/library/core/src/Header.php on line 158, referer: http://localhost/

Was there something wrong? Thanks.

Hi @cornutaurus ,

You may need to bump up the max_input_vars in php.ini to a higher number (if it’s 3000, try to change it to 5000 or higher); and restart apache after you do this.

-brady

It worked perfectly. Thank you.