• Resolved antonim

    (@antonim)


    Hello, I’d only installed the GiveWP and added a new form. When I click “All forms”, I see the next:

    Fatal error: Uncaught Error: Class ‘NumberFormatter’ not found in D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\Framework\Support\Facades\CurrencyFacade.php:83 Stack trace: #0 D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\Framework\Support\Facades\Facade.php(43): Give\Framework\Support\Facades\CurrencyFacade->formatToLocale() #1 D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\Framework\Support\ValueObjects\Money.php(94): Give\Framework\Support\Facades\Facade::__callStatic() #2 D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\DonationForms\ListTable\Columns\LevelsColumn.php(84): Give\Framework\Support\ValueObjects\Money->formatToLocale() #3 D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\DonationForms\ListTable\Columns\LevelsColumn.php(53): Give\DonationForms\ListTable\Columns\LevelsColumn->getLevels() #4 D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\Framework\ListTable\ListTable.php(126): Give\DonationForms\ListTable\Columns\LevelsColumn->getCellValue( in D:\OpenServer\domains\fondacia\wp-content\plugins\give\src\Framework\Support\Facades\CurrencyFacade.php on line 83

    How to correct it? Developing with the OpenServer

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Matheus Martins

    (@matheusfd)

    Hi, @antonim.

    ​Glad you reached out. I can help you fix this error.

    We’ve uncovered this issue with specific hosts not supporting the INTL extension for PHP.

    The fastest way to resolve it is for your host to enable that PHP extension, which will make the error message disappear.

    We’re considering doing something from our side to fix it, based on the number of reports. We’re tracking those here: https://feedback.givewp.com/bug-reports/p/php-intl-extension-should-not-break-givewp.

    The pinned comments there explain much more in detail about what’s going wrong, but for now, your best bet is to reach out to your host to have them enable INTL.

    Please let us know if you have further questions or need additional assistance!

    Hi @antonim,
    We have addressed the INTL extension in the GiveWP 2.24.2 release. We introduced a new setting and wrote an article on the subject, which I encourage you to read. In short, GiveWP will work without the Intl extension, but you won’t get the full benefits of what we’re doing with auto-formatting for numbers and currencies moving forward.

    Please update and let us know if you run into further issues. Happy Fundraising!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘NumberFormatter fatal error’ is closed to new replies.