Class ‘NumberFormatter’

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1229
    josef
    Participant

    after upgrade SI to 2020 i get an error when explore invoices page (http://localhost/inv20/index.php?module=invoices&view=manage)
    the error :

    Fatal error: Uncaught Error: Class ‘NumberFormatter’ not found in C:\xampp7\htdocs\inv20\Inc\Claz\Util.php:279 Stack trace: #0 C:\xampp7\htdocs\inv20\Inc\Claz\Invoice.php(343): Inc\Claz\Util::numberTrim(‘0.000000’) #1 C:\xampp7\htdocs\inv20\Inc\Claz\Invoice.php(45): Inc\Claz\Invoice::getInvoices(5718) #2 C:\xampp7\htdocs\inv20\modules\invoices\quick_view.php(37): Inc\Claz\Invoice::getOne(5718) #3 C:\xampp7\htdocs\inv20\index.php(440): include(‘C:\\xampp7\\htdoc…’) #4 {main} thrown in C:\xampp7\htdocs\inv20\Inc\Claz\Util.php on line 279

    can any one please help to resolve the problem.

    regard

    #1230
    RRowley
    Participant

    Make sure the intl extension is enabled in the php.ini file. Find the following line and uncomment it.

    extension=intl

    Then restart your apache (or whatever) server.

    #1231
    josef
    Participant

    SI work fine now
    thank you

    #1562
    maleabil
    Participant

    Hi!
    Same problem, shared hosting, can not enable intl…Is there a way to replace the “numberformatter” class?

    #1565
    fearless359
    Keymaster

    I think you need to contact your shared hosting support. If you have access to cpanel for your site, you might look to see if you have a program to specify the version of php. Check it and their might be a list of checkbox items that you can enable and intl should be in there.

    There is not practical was to replace the NumberFormatter class. It is standard PHP and should be something your hosting service supports.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.