Answers.Body: <p>Yes it's a problem with php 8.1.25. See <a href="https://lab.civicrm.org/dev/core/-/issues/4739" rel="nofollow noreferrer">https://lab.civicrm.org/dev/core/-/issues/4739</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-10-31T10:42:51.017Z
Answers.LastActivityDate: 2023-10-31T10:42:51.017Z
Answers.UserDisplayName: Demerit
Body: <p>Wordpress with php 8.1</p>
  <p>Fatal error:  Uncaught IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR in /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php:105</p>
  <p>This give me an error for unable to reach the server if I want to modify or fill an event subscription form</p>
  <p>further log informations</p>
  <p>Stack trace:</p>
  <pre><code>#0 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(105): IntlDateFormatter-&gt;__construct()
  
  #1 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(204): PHP81_BC\{closure}()
  
  #2 [internal function]: PHP81_BC\{closure}()
  
  #3 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(185): preg_replace_callback()
  
  #4 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/Log.php(887): PHP81_BC\strftime()
  
  #5 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/Log/file.php(294): Log-&gt;formatTime()
  
  #6 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(601): Log_file-&gt;log()
  
  #7 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(573): CRM_Core_Error::debug_log_message()
  
  #8 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(442): CRM_Core_Error::debug_var()
  
  #9 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException()
  
  #10 /home/wp-content/plugins/civicrm/civicrm.php(1199): CRM_Core_Invoke::invoke()
  
  #11 /home/wp-includes/class-wp-hook.php(310): CiviCRM_For_WordPress-&gt;invoke()
  
  #12 /home/wp-includes/class-wp-hook.php(334): WP_Hook-&gt;apply_filters()
  
  #13 /home/wp-includes/plugin.php(517): WP_Hook-&gt;do_action()
  
  #14 /home/wp-admin/admin.php(259): do_action()
  
  #15 {main}
    thrown in /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php on line 105
  </code></pre>
  <p>Thank you for help</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-31T09:50:38.023Z
Comments.Text: //    return (new IntlDateFormatter($locale, $date_type, $time_type, $tz, $calendar, $pattern))->format($timestamp);
  
  after commented this line in /civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php the form works, perhaps this is a bug
Comments.UserDisplayName: Alberto Olivucci
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-10-31T14:59:49.413Z
Comments.Text: See https://civicrm.stackexchange.com/questions/45781/scheduled-jobs-stopped-working
Comments.UserDisplayName: Aidan
Tags: <profile><error><pear>
Title: Illegal argument error
ThreadText: # Illegal argument error
  
  (Asked by: username_0 on 2023-10-31)
  
  Wordpress with php 8.1
  Fatal error:  Uncaught IntlException: datefmt_create: invalid locale: U_ILLEGAL_ARGUMENT_ERROR in /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php:105
  This give me an error for unable to reach the server if I want to modify or fill an event subscription form
  further log informations
  Stack trace:
  #0 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(105): IntlDateFormatter->__construct()
  
  #1 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(204): PHP81_BC\{closure}()
  
  #2 [internal function]: PHP81_BC\{closure}()
  
  #3 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php(185): preg_replace_callback()
  
  #4 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/Log.php(887): PHP81_BC\strftime()
  
  #5 /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/Log/file.php(294): Log->formatTime()
  
  #6 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(601): Log_file->log()
  
  #7 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(573): CRM_Core_Error::debug_log_message()
  
  #8 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(442): CRM_Core_Error::debug_var()
  
  #9 /home/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException()
  
  #10 /home/wp-content/plugins/civicrm/civicrm.php(1199): CRM_Core_Invoke::invoke()
  
  #11 /home/wp-includes/class-wp-hook.php(310): CiviCRM_For_WordPress->invoke()
  
  #12 /home/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
  
  #13 /home/wp-includes/plugin.php(517): WP_Hook->do_action()
  
  #14 /home/wp-admin/admin.php(259): do_action()
  
  #15 {main}
    thrown in /home/wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php on line 105
  
  Thank you for help
  
  **Tags:** profile, error, pear
  
  > **Comments:**
  > **username_0**: //    return (new IntlDateFormatter($locale, $date_type, $time_type, $tz, $calendar, $pattern))->format($timestamp);  after commented this line in /civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php the form works, perhaps this is a bug  
  > **username_1**: See https://civicrm.stackexchange.com/questions/45781/scheduled-jobs-stopped-working  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-10-31. Score: 2
  
  Yes it's a problem with php 8.1.25. See <https://lab.civicrm.org/dev/core/-/issues/4739>
  
  
  ---
  
  