Situation
When I clicked on Primary Insurance in Dashboard it just showed a Loading page and would not pull up the Primary Insurance page so I’m unable to change or add any patient’s information. This is a critical error because it affects how we bill insurance. I can replicate the same error on the main Demo site.
OpenEMR Version
I’m using OpenEMR version 7.0.4
Browser:
I’m using: Chrome
Operating System
I’m using: Debian
Search
Did you search the forum for similar questions? Yes
Logs
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All
hi @ninjatx, have seen this bug in the demo farm off and on. Could you check in the database table insurance_data to see if the person you’re editing has 3 insurances (primary, secondary, tertiary)?
Hi @stephenwaite , you’re right. The demo site earlier showed the error, now it is not after the site is reset. I’ve been checking around in my system, it doesn’t matter if the person has no insurance or if they have primary insurance, it still shows the same error. We don’t have anyone who has secondary insurance so I can’t check that.
This is my error log, maybe it’ll help:
[Mon Jan 12 18:39:07.085190 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: unserialize(): Error at offset 0 of 3 bytes in /var/www/html/openemr/library/options.inc.php on line 3327, referer: https://clinicdomain.com/interface/main/tabs/main.php?token_main=aOZsiivkbFoTjx3B62xbRGhqVcACztpOZh2xl1XO
[Mon Jan 12 18:39:07.085217 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: foreach() argument must be of type array|object, false given in /var/www/html/openemr/library/options.inc.php on line 3333, referer: https://clinicdomain.com/interface/main/tabs/main.php?token_main=aOZsiivkbFoTjx3B62xbRGhqVcACztpOZh2xl1XO
[Mon Jan 12 18:39:07.807467 2026] [php:notice] [pid 1513:tid 1513] [client x.x.x.x:57065] [2026-01-12T18:39:07.807253-06:00] OpenEMR.ERROR: Document file not found or insufficient permissions {“url”:“”,“document_id”:“-1”,“patient_id”:“1”} , referer: https://clinicdomain.com/interface/main/tabs/main.php?token_main=aOZsiivkbFoTjx3B62xbRGhqVcACztpOZh2xl1XO
[Mon Jan 12 18:39:10.802790 2026] [php:warn] [pid 986:tid 986] [client x.x.x.x:55654] PHP Warning: unserialize(): Error at offset 0 of 3 bytes in /var/www/html/openemr/library/options.inc.php on line 3327, referer: https://clinicdomain.com/interface/main/tabs/main.php?token_main=aOZsiivkbFoTjx3B62xbRGhqVcACztpOZh2xl1XO
[Mon Jan 12 18:39:10.802831 2026] [php:warn] [pid 986:tid 986] [client x.x.x.x:55654] PHP Warning: foreach() argument must be of type array|object, false given in /var/www/html/openemr/library/options.inc.php on line 3333, referer: https://clinicdomain.com/interface/main/tabs/main.php?token_main=aOZsiivkbFoTjx3B62xbRGhqVcACztpOZh2xl1XO
[Mon Jan 12 18:39:12.875624 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: unserialize(): Error at offset 0 of 3 bytes in /var/www/html/openemr/library/options.inc.php on line 3253, referer: https://clinicdomain.com/interface/patient_file/summary/demographics.php
[Mon Jan 12 18:39:12.875649 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: foreach() argument must be of type array|object, false given in /var/www/html/openemr/library/options.inc.php on line 3255, referer: https://clinicdomain.com/interface/patient_file/summary/demographics.php
[Mon Jan 12 18:39:15.460360 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: unserialize(): Error at offset 0 of 3 bytes in /var/www/html/openemr/library/options.inc.php on line 3327, referer: https://clinicdomain.com/interface/patient_file/summary/demographics_full.php
[Mon Jan 12 18:39:15.460388 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: foreach() argument must be of type array|object, false given in /var/www/html/openemr/library/options.inc.php on line 3333, referer: https://clinicdomain.com/interface/patient_file/summary/demographics_full.php
[Mon Jan 12 18:39:19.715547 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: Undefined global variable $usps_apiv3_enable in /var/www/html/openemr/interface/patient_file/summary/insurance_edit.php on line 101, referer: https://clinicdomain.com/interface/patient_file/summary/demographics.php
[Mon Jan 12 18:39:19.880489 2026] [php:warn] [pid 2480:tid 2480] [client x.x.x.x:59398] PHP Warning: require(/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/openemr/src/Core/ModulesClassLoader.php on line 47, referer: https://clinicdomain.com/interface/patient_file/summary/insurance_edit.php
[Mon Jan 12 18:39:19.880665 2026] [php:notice] [pid 2480:tid 2480] [client x.x.x.x:59398] [2026-01-12T18:39:19.880574-06:00] OpenEMR.ERROR: ExceptionHandlerListener exception Failed opening required ‘/vendor/autoload.php’ (include_path=‘/var/www/html/openemr/vendor/pear/archive_tar:/var/www/html/openemr/vendor/pear/console_getopt:/var/www/html/openemr/vendor/pear/pear-core-minimal/src:/var/www/html/openemr/vendor/pear/pear_exception:.:/usr/share/php’) {“trace”:“#0 /var/www/html/openemr/interface/modules/custom_modules/oe-module-dashboard-context/openemr.bootstrap.php(18): OpenEMR\\Core\\ModulesClassLoader->__construct()\n#1 /var/www/html/openemr/src/Core/ModulesApplication.php(177): include(‘…’)\n#2 /var/www/html/openemr/src/Core/ModulesApplication.php(152): OpenEMR\\Core\\ModulesApplication->loadCustomModule()\n#3 /var/www/html/openemr/src/Core/ModulesApplication.php(73): OpenEMR\\Core\\ModulesApplication->bootstrapCustomModules()\n#4 /var/www/html/openemr/interface/globals.php(769): OpenEMR\\Core\\ModulesApplication->__construct()\n#5 /var/www/html/openemr/src/RestControllers/Subscriber/SiteSetupListener.php(158): require_once(‘…’)\n#6 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\\RestControllers\\Subscriber\\SiteSetupListener->onKernelRequest()\n#7 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners()\n#8 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(157): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch()\n#9 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#10 /var/www/html/openemr/src/RestControllers/ApiApplication.php(122): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#11 /var/www/html/openemr/apis/dispatch.php(28): OpenEMR\\RestControllers\\ApiApplication->run()\n#12 {main}”} , referer: https://clinicdomain.com/interface/patient_file/summary/insurance_edit.php
[Mon Jan 12 18:39:19.881035 2026] [php:notice] [pid 2480:tid 2480] [client x.x.x.x:59398] [2026-01-12T18:39:19.881017-06:00] OpenEMR.ERROR: TelemetryListener telemetry error {“exception”:“{}”} , referer: https://clinicdomain.com/interface/patient_file/summary/insurance_edit.php
[Mon Jan 12 18:39:19.881058 2026] [php:notice] [pid 2480:tid 2480] [client x.x.x.x:59398] Session has not been set., referer: https://clinicdomain.com/interface/patient_file/summary/insurance_edit.php
[Mon Jan 12 18:39:19.881064 2026] [php:notice] [pid 2480:tid 2480] [client x.x.x.x:59398] #0 /var/www/html/openemr/src/RestControllers/Subscriber/ApiResponseLoggerListener.php(47): Symfony\Component\HttpFoundation\Request->getSession()\n#1 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(220): OpenEMR\RestControllers\Subscriber\ApiResponseLoggerListener->onRequestTerminated()\n#2 /var/www/html/openemr/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()\n#3 /var/www/html/openemr/vendor/symfony/http-kernel/HttpKernel.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()\n#4 /var/www/html/openemr/src/RestControllers/ApiApplication.php(132): Symfony\Component\HttpKernel\HttpKernel->terminate()\n#5 /var/www/html/openemr/apis/dispatch.php(28): OpenEMR\RestControllers\ApiApplication->run()\n#6 {main}, referer: https://clinicdomain.com/interface/patient_file/summary/insurance_edit.php
I disabled the module oe-module-dashboard-context, and then it works again. So the problem is most likely in that module. It’s a production system, so I will keep it disabled for now until we can get it figure out. Thanks for your help!
I recreated and found the issue. It’s not something that I can supply an interim patch but is fixed in our certification release v8.0.0 coming end of this month. Sorry, I tried.