Situation
It’s not letting us make x12 files.
OpenEMR Version
I’m using OpenEMR version 7.0.1 Path 1
Browser:
I’m using: Firefox and Chrome
Operating System
I’m using: Ubuntu 20.04 and 22.04
Search
Did you search the forum for similar questions? yes
Logs
Did you check the logs? yes
Was there anything pertinent in them?
Apache Logs
[Fri Jun 02 13:46:53.443390 2023] [php:error] [pid 5425] [client 181.41.206.193:50756] PHP Fatal error: Uncaught Error: OpenEMR\\Billing\\X125010837P::genX12837P(): Argument #7 ($edicount) cannot be passed by reference in /var/www/emr.heartnd.com/src/Billing/BillingProcessor/Tasks/GeneratorX12.php:79
Stack trace:
#0 /var/www/emr.heartnd.com/src/Billing/BillingProcessor/Tasks/GeneratorX12.php(167): OpenEMR\\Billing\\BillingProcessor\\Tasks\\GeneratorX12->updateBatchFile()
#1 /var/www/emr.heartnd.com/src/Billing/BillingProcessor/Tasks/AbstractGenerator.php(78): OpenEMR\\Billing\\BillingProcessor\\Tasks\\GeneratorX12->generate()
#2 /var/www/emr.heartnd.com/src/Billing/BillingProcessor/BillingProcessor.php(140): OpenEMR\\Billing\\BillingProcessor\\Tasks\\AbstractGenerator->execute()
#3 /var/www/emr.heartnd.com/src/Billing/BillingProcessor/BillingProcessor.php(91): OpenEMR\\Billing\\BillingProcessor\\BillingProcessor->processClaims()
#4 /var/www/emr.heartnd.com/interface/billing/billing_process.php(33): OpenEMR\\Billing\\BillingProcessor\\BillingProcessor->execute()
#5 {main}
thrown in /var/www/emr.heartnd.com/src/Billing/BillingProcessor/Tasks/GeneratorX12.php on line 79, referer: https://emr.heartnd.com/interface/billing/billing_report.php
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