SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Update from 2019 to 2026 › Reply To: Update from 2019 to 2026
December 12, 2025 at 3:15 am
#2277
Participant
Thanks for your reply @fearless359. I’ve already done all the steps in the Version Update Process topic. I accidently copied to many rows from the php.log in my first quote, it should only be this what’s below. I manually deleted the 16 references to invoice_item_tax do not get that error any more.
Just to be sure I ran the update script again and this is the only error I get:
[12-Dec-2025 12:12:12 Europe/Amsterdam] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1005 Can't create table 'my_fact'.'si_invoice_item_tax' (errno: 150 "Foreign key constraint is incorrectly formed") in /volume1/websites_folder/invoices/Inc/Claz/PdoDb.php:1287
Stack trace:
#0 /volume1/websites_folder/invoices/Inc/Claz/PdoDb.php(1287): PDOStatement->execute()
#1 /volume1/websites_folder/invoices/Inc/Claz/SqlPatchManager.php(145): Inc\Claz\PdoDb->query('ALTER TABLE 'si...')
#2 /volume1/websites_folder/invoices/Inc/Claz/SqlPatchManager.php(215): Inc\Claz\SqlPatchManager::runSqlPatch(331, Array)
#3 /volume1/websites_folder/invoices/index.php(247): Inc\Claz\SqlPatchManager::runPatches()
#4 {main}
thrown in /volume1/websites_folder/invoices/Inc/Claz/PdoDb.php on line 1287
Recent Comments