SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › SI 2019.2.32 to 2023.0.4 FatalError after Upgrade
- This topic has 4 replies, 2 voices, and was last updated 2 years, 3 months ago by
RRowley.
-
AuthorPosts
-
July 13, 2023 at 11:55 am #1953
FRCG
ParticipantI followed the update instructions provided and I’m receiving this fatal error. Any idea on how I can fix it? I’ve verified that …Claz/Invoice.php and …invoices/manage.php both exist.
Fatal error: Uncaught Error: Class “NumberFormatter” not found in /share/MD0_DATA/Web/simpleinvoices/Inc/Claz/Invoice.php:361 Stack trace: #0 /share/MD0_DATA/Web/simpleinvoices/Inc/Claz/Invoice.php(159): Inc\Claz\Invoice::getInvoices(NULL, ”, ”, false, 0) #1 /share/MD0_DATA/Web/simpleinvoices/Inc/Claz/Invoice.php(112): Inc\Claz\Invoice::manageTableInfo(0) #2 /share/MD0_DATA/Web/simpleinvoices/modules/invoices/manage.php(37): Inc\Claz\Invoice::getAllWithHavings(”, ”, ”, true, false, 0) #3 /share/MD0_DATA/Web/simpleinvoices/index.php(441): include(‘/share/MD0_DATA…’) #4 {main} thrown in /share/MD0_DATA/Web/simpleinvoices/Inc/Claz/Invoice.php on line 361
Line 361 of Invoice.php reads as follows: $formatter = new NumberFormatter($locale, NumberFormatter::CURRENCY);
Line 159 reads: $rows = self::getInvoices(null, ”, ”, false, $invoiceDisplayDays);
Line 112 reads: return self::manageTableInfo($invoiceDisplayDays);
Line 37 of Manage.php reads: $invoices = Invoice::getAllWithHavings($having, ”, ”, true, false,
$invoiceDisplayDays);July 13, 2023 at 12:24 pm #1956FRCG
ParticipantMore info:
This is a phpMyAdmin instance with the below specs:
Apache
Database client version: libmysql – mysqlnd 8.2.0
PHP extension: mysqli Documentation curl Documentation mbstring Documentation
PHP version: 8.2.0July 13, 2023 at 1:40 pm #1959FRCG
ParticipantDisabling PHP errors in custom.config.ini results in a blank white screen.
July 13, 2023 at 3:08 pm #1960FRCG
ParticipantFixed it! I run my Webserver off a QNAP NAS. Apparently QNAP doesn’t load Developer extensions for PHP by default. All I had to do was SIMPLY install PHP Extensions from the Developer Tools section of the QNAP APPCenter.
July 18, 2023 at 6:23 pm #1968RRowley
ParticipantGlad you figured this out. Thanks for letting the forum know what your issue was and how you corrected it.
-
AuthorPosts
- You must be logged in to reply to this topic.
Recent Comments