I recently had an issue with the invoice system where my clients were getting payment failed errors on Stripe even though the transactions went through. This resulted in my invoices now showing negative balances (e.g. -$500) even after I refund the payments.
Is there a way for me to get my invoices back to the correct amount. I’d rather not have to recreate every single invoice.
Thank you so much for the prompt reply. This issue came up shortly before updating. When I updated however I had some additional issues so I had to roll back. I’ll try upgrading again and then running those commands.
Hello, I tried enclosing the value (lines below) as instructed but I’m still getting errors. I tried editing each line one at a time and then both, but the software didn’t work.
PHANTOMJS_CLOUD_KEY=‘a-demo-key-with-low-quota-per-ip-address’ (that line was set to that value)
APP_KEY=‘filtered out’
Fatal error: Uncaught exception ‘ReflectionException’ with message ‘Class log does not exist’ in /home/charles/public_html/invoice/bootstrap/cache/compiled.php:1336 Stack trace: #0 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1336): ReflectionClass->__construct(‘log’) #1 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1290): Illuminate\Container\Container->build(‘log’, Array) #2 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1848): Illuminate\Container\Container->make(‘log’, Array) #3 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1391): Illuminate\Foundation\Application->make(‘Psr\Log\LoggerI…’) #4 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1368): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter)) #5 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1354): Illuminate\Container\Container->getDependencies(Array, Array) #6 /home/charles/public_html/invoice/bootstrap/cache/compiled.php(1290): Illuminat in /home/charles/public_html/invoice/bootstrap/cache/compiled.php on line 1336
Hello, thanks for the reply. Is there any way to do a repair install? I rolled back from a backup multiple times maybe that’s why I’m in this position.
If you have a backup you should be able to use it with a new install. You just need to copy over the APP_KEY value from the .env file to make sure the encryption is the same.
This should be fixable though, what do you see on /update.
SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘fonts’ already exists (SQL: create table fonts (id int unsigned not null auto_increment primary key, name varchar(255) not null, folder varchar(255) not null, css_stack varchar(255) not null, css_weight smallint not null default ‘400’, google_font varchar(255) not null, normal varchar(255) not null, bold varchar(255) not null, italics varchar(255) not null, bolditalics varchar(255) not null, is_early_access tinyint(1) not null, sort_order int unsigned not null default ‘10000’) default character set utf8 collate utf8_unicode_ci)