• Resolved hiphopservers

    (@hiphopservers)


    This error is generated consistently with a fresh install both on multi-site and regular WordPress install. I have tried to load the plugin with no other plugin installed and still get the same error. The site returns the following error message in debug mode.

    Fatal error: Uncaught IntlException: Constructor failed in /home/userID/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799 Stack trace: #0 /home/userID/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US') #1 /home/userID/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array) #2 /home/userID/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php(115): WC_Countries->get_countries() #3 /home/userID/domains/iamautumnco.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1050): WC_REST_Data_Countries_Controller->get_items(Object(WP_REST_Request)) #4 /home/userID/domains/iamautumnco.com/public_html/wp-includes/rest-api.php(464): WP_REST_Server->dispatch(Object(WP_REST_Request)) #5 /home/userID/domains/iamautumnc in /home/userID/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1799

    My site is running on PHP 7.3.24, CentOS. I also found the following errors in my error log file.

    [Sun Nov 15 06:35:04.990989 2020] [proxy_fcgi:error] [pid 8331:tid 139783563233024] [client 24.49.43.55:54182] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IntlException: Constructor failed in /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799\nStack trace:\n#0 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US')\n#1 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array)\n#2 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(38): WC_Countries->get_countries()\n#3 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(239): WC_Countries->__get('countries')\n#4 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1307): WC_Countries->get_allowed_countries()\n#5 /home/userID/truePath/iamautumnco.co...', referer: https://shop.iamautumnco.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Sun Nov 15 06:35:08.640640 2020] [proxy_fcgi:error] [pid 8331:tid 139783563233024] [client 24.49.43.55:54182] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IntlException: Constructor failed in /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799\nStack trace:\n#0 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US')\n#1 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array)\n#2 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(38): WC_Countries->get_countries()\n#3 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(239): WC_Countries->__get('countries')\n#4 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1307): WC_Countries->get_allowed_countries()\n#5 /home/userID/truePath/iamautumnco.co...', referer: https://shop.iamautumnco.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Sun Nov 15 06:35:23.652241 2020] [proxy_fcgi:error] [pid 8331:tid 139783563233024] [client 24.49.43.55:54200] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IntlException: Constructor failed in /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799\nStack trace:\n#0 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US')\n#1 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array)\n#2 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(38): WC_Countries->get_countries()\n#3 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(239): WC_Countries->__get('countries')\n#4 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1307): WC_Countries->get_allowed_countries()\n#5 /home/userID/truePath/iamautumnco.co...', referer: https://shop.iamautumnco.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Sun Nov 15 06:35:25.747306 2020] [proxy_fcgi:error] [pid 8331:tid 139783563233024] [client 24.49.43.55:54200] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IntlException: Constructor failed in /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799\nStack trace:\n#0 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US')\n#1 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array)\n#2 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(38): WC_Countries->get_countries()\n#3 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(239): WC_Countries->__get('countries')\n#4 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1307): WC_Countries->get_allowed_countries()\n#5 /home/userID/truePath/iamautumnco.co...', referer: https://shop.iamautumnco.com/wp-admin/plugins.php?plugin_status=all&paged=1&s
    [Sun Nov 15 06:35:28.540046 2020] [core:error] [pid 8526:tid 139782369593088] [client 24.49.43.55:54207] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun Nov 15 06:35:28.544321 2020] [core:error] [pid 8331:tid 139782134728448] [client 24.49.43.55:54206] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun Nov 15 06:36:05.947661 2020] [access_compat:error] [pid 8331:tid 139782168299264] [client 34.231.33.72:58136] AH01797: client denied by server configuration: /home/userID/truePath/iamautumnco.com/private_html/wp-content/uploads/woocommerce_uploads/, referer: https://iamautumnco.com/wp-content/uploads/woocommerce_uploads/
    [Sun Nov 15 06:36:07.445910 2020] [proxy_fcgi:error] [pid 8331:tid 139782780770048] [client 24.49.43.55:54236] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IntlException: Constructor failed in /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799\nStack trace:\n#0 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US')\n#1 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array)\n#2 /home/userID/truePath/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php(115): WC_Countries->get_countries()\n#3 /home/userID/truePath/iamautumnco.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1050): WC_REST_Data_Countries_Controller->get_items(Object(WP_REST_Request))\n#4 /home/userID/truePath/iamautumnco.com/public_html/wp-includes/rest-api.php(464): WP_REST_Server->dispatch(Object(WP_REST_Re...', referer: https://iamautumnco.com/wp-admin/plugins.php
    • This topic was modified 4 years ago by hiphopservers. Reason: formatting

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter hiphopservers

    (@hiphopservers)

    Is anyone else having this issue or simular?

    Thread Starter hiphopservers

    (@hiphopservers)

    @mikejolley how do I get support for this plugin issue on a fresh install?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Looks like it could be something to do with the PHP internationalization Library since it’s related to https://github.com/woocommerce/woocommerce/pull/27416

    Can you log a new issue and include details on the server environment? That will allow someone to investigate:

    https://github.com/woocommerce/woocommerce/issues/new?assignees=&labels=&template=4-Bug-report.md&title=

    Thread Starter hiphopservers

    (@hiphopservers)

    I will post the error there too but this issue happened on both the github version and the version download from WordPress directly.

    Thread Starter hiphopservers

    (@hiphopservers)

    @mikejolley I did delete the install then install it again using the update added from three days ago and still got a similar error. It was the same line referenced in the function file. I installed PHP 8.0, 7.4, and 7.3 and still got the same error. I will try to install the recommended PHP 7.0 to see if this resolved the issue.

    Thread Starter hiphopservers

    (@hiphopservers)

    @mikejolley

    ok, so even after trying PHP 7.0, 7.3, 7.4 and 8.0 with a fresh install of WordPress and even sites that have been upgraded to this version get the same error shown herein.

    Fatal error: Uncaught IntlException: Constructor failed in /home/acterry/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1799 Stack trace: #0 /home/acterry/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(1799): Collator->__construct('en_US') #1 /home/username/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-countries.php(53): wc_asort_by_locale(Array) #2 /home/username/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php(115): WC_Countries->get_countries() #3 /home/username/domains/iamautumnco.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1050): WC_REST_Data_Countries_Controller->get_items(Object(WP_REST_Request)) #4 /home/username/domains/iamautumnco.com/public_html/wp-includes/rest-api.php(464): WP_REST_Server->dispatch(Object(WP_REST_Request)) #5 /home/acterry/domains/iamautumnc in /home/username/domains/iamautumnco.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1799
    
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
    
    Learn more about debugging in WordPress.

    I was able to goto GitHub and grab an older version of WooCommerce and install it without errors. Currently, the newest version I can run without error on PHP 7.4 is v4.6.2 from GitHub. To be clear None of the published versions are working after installation from www.ads-software.com releases to GitHub release except v4.6.2.

    @hiphopservers
    I have the same issue and it’s probably caused by intl and UCI extension enabled in PHP. Try to disable it and then update woocommerce. That’s sad but I have the same issue and Woocommerce support just ignores me on the forum.

    Thread Starter hiphopservers

    (@hiphopservers)

    @rider7991

    Even better by asking me to put it on GitHub, it is like putting in a support ticket, and if I have to do this much work to get the plugin to work. Well, the stores are new. I just switch applications. Since support here is trash and I am not about to log in to three different sites to seek support for PHP script I got off this site.

    Did you resolve your issue by removing the intl and UCI extension enabled in PHP?

    Thread Starter hiphopservers

    (@hiphopservers)

    @mikejolley

    The latest version does now work properly with any secure stable version of PHP unless it is an older version of WooCommerce before the previous version was installed.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    @hiphopservers thats good to know!

    I directed you to GitHub because thats where the development team monitor for new issues (I am no longer on that team), and since you had a useful error message it would have been the best forum for this. I didn’t log it myself because they would have wanted the system status report from you which I do not have access to.

    Thread Starter hiphopservers

    (@hiphopservers)

    @mikejolley

    I will provide as much information on GitHub as I can to help other users but with all details, I can provide at this time since I am no longer using any instances of the application.

    Noting the fact this issue broke all the installations that were updated on my host. So, as a result, I had to resolve this issue immediately before both myself and my clients running stores with the application lost even more sales waiting to have the issue resolved.

    This was the more viable option since most of the clients have small stores or custom projects. Which makes importing and exporting easier.

    Oddly, since it is very likely I am not the only person with the issue; it is just very frustrating and concerning that, no one else is openly reporting the same issue with the application, and as a result, nobody has resolved the issue.

    I do miss the “Woo” though. ??

    Thread Starter hiphopservers

    (@hiphopservers)

    @rider7991 can you get on GitHub if I post the link to my bug report and add your error information to it since your working in a live environment, still? I mean @mikejolley did pop in and make a good point.

    Thread Starter hiphopservers

    (@hiphopservers)

    By request of the author, I have reported this bug via GitHub and will close this thread as resolved. If you wish to get more information or follow this issue please visit my Bug Report at the following link.

    https://github.com/woocommerce/woocommerce/issues/28516

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal error: Uncaught IntlException: Constructor’ is closed to new replies.