Problem with Open EMR installation

Situation
I am traying to finish the installation of Open EMR at portalmedico.plataformaeidos.com but it shows me a blank page at the end of the process and does not actually finish the installation…

OpenEMR Version
openemr-7.0.4

Browser:
I’m using: Google Chrome / Mozilla Firefox / Edge

Operating System
I’m using: Linux. PHP 8.2

Search
Did you search the forum for similar questions? Yes

Logs
[07-Jan-2026 09:48:42 UTC] PHP Warning: Undefined array key “collate” in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php on line 1129
[07-Jan-2026 09:48:42 UTC] PHP Fatal error: Uncaught TypeError: Installer::collateNameIsValid(): Argument #1 ($name) must be of type string, null given, called in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php on line 1129 and defined in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/library/classes/Installer.class.php:177
Stack trace:
#0 /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php(1129): Installer->collateNameIsValid()
#1 {main}
thrown in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/library/classes/Installer.class.php on line 177
[07-Jan-2026 10:07:44 UTC] PHP Warning: Undefined array key “collate” in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php on line 1129
[07-Jan-2026 10:07:44 UTC] PHP Fatal error: Uncaught TypeError: Installer::collateNameIsValid(): Argument #1 ($name) must be of type string, null given, called in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php on line 1129 and defined in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/library/classes/Installer.class.php:177
Stack trace:
#0 /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/setup.php(1129): Installer->collateNameIsValid()
#1 {main}
thrown in /home/u106409402/domains/portalmedico.plataformaeidos.com/public_html/library/classes/Installer.class.php on line 177

You aren’t too specific about your Linux. I say so because sometimes you might need to be thorough in checking your permissions for this version openemr.

I can’t help wonder if your DB is correctly setup? Or at least complete the prechecks successfully?

I have the same error on a fresh installation, I tried them on Ubuntu Server 24.04 and Rocky Linux 9. I get the same error. To update it works fine:
17:03:37 [error] 20603#20603: *649 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key “collate” in /var/www/html/openemr/setup.php on line 1129; PHP message: PHP Fatal error: Uncaught TypeError: Installer::collateNameIsValid(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/openemr/setup.php on line 1129 and defined in /var/www/html/openemr/library/classes/Installer.class.php:177

Other post, same error: Open EMR 7.0.4 Fresh installation SQL issue - #4 by mkm1971

Hi @luisuriarte

I’ll look into this. Also while I have you I simply ran out of time to address the medication widget in encounter but it is on my list for a first patch in v8.0.0.

You’ll be happy to know that we are making a concerted effort to have routine patch schedules.

1 Like

@Jimena_Birman_Kersze Did you get this worked out?

I found out why we don’t fall through to notify user a collate verification failed. Used to not throw exception and returned error to setup.

I have a fix in works now that is very minor to edit or replace a class file if you need to patch until v8.0.0. I’ll put up PR here when I complete.