FURTHER UPDATE:
CiviCRM 5.67.0 solves the various issues that I found. Thanks very much for fixing.
Chris
UPDATE: This was originally a "me too" comment but now is a partial answer.
The problem occurs here:
wp-content/plugins/civicrm/civicrm/vendor/pear/log/php-8.1-strftime.php
The problem seems to be that PHP 8.1.25 (and 8.2.12 I think) throw an exception if $locale is invalid for IntlDateFormatter()
https://github.com/php/php-src/issues/12561
For me, $locale was coming through as "C" which is invalid.
For now, I've added in this extra line 104:
$locale = "en_GB";
This gets the Send Scheduled Reminders job working - and hopefully some other things that I'm told weren't working, such as some event booking.
I did previously try the CiviCRM 5.66.2 release but that didn't help.
Is there some setting within CiviCRM (or the server) which I need to set to get the $locale coming through properly?
I'd recommend that the code be updated so that it can cope with a duff $locale.
Chris
I am seeing the same Send Scheduled Reminders job error on a live site since yesterday morning on CiviCRM 5.65.2. And I get the same error on a test site when I try today to upgrade from 5.65.2 to 5.66.1:
datefmt_create invalid locale: U_ILLEGAL_ARGUMENT_ERROR
Test site error report:
WordPress version 6.3.2
Active theme: Twenty Seventeen (version 3.3)
Current plugin: CiviCRM (version 5.66.1)
PHP version 8.1.25
(I've reverted the test site.)
Can anyone suggest a fix to help me upgrade - which will hopefully fix the problem?
Thanks in advance, Chris