After changing the PHP version, thousands of time error messages are reported
December 02, 2023, 05:58:35 am
Hello, for two days now, thousands of time error messages have been created daily in the forum. I have not changed anything in the forum and the 24-hour format is still set. However, two days ago I changed the PHP version of all my domains from 8.0 to 8.1 (8.1.22) and therefore I suspect that this has something to do with it. What do I have to change in the subs.php and logging.php codes to make the errors disappear? Or does something have to be changed somewhere in the admin centre because of PHP 8.1 ? Attached are screenshots of all error messages. Kind regards
Re: After changing the PHP version, thousands of time error messages are reported
Reply #1 – December 02, 2023, 07:02:14 am
What is your forum ElkArte version?
Re: After changing the PHP version, thousands of time error messages are reported
Reply #4 – December 02, 2023, 02:24:56 pm
I think it's best for me is if I will roll back to 8.0, because the forum ran without any problems. And then I will have a look at the other suggestions and possibilities. However, I have just little knowledge of PHP... Regarding a patch for 8.0: Will there possibly be one soon? Is one already being worked on?
Re: After changing the PHP version, thousands of time error messages are reported
Reply #6 – December 02, 2023, 07:41:47 pm
Only ElkArte version 1.1.9 fixes a lot of php 8.x problems, so unless you are upgrading to that stay with your older php.
Re: After changing the PHP version, thousands of time error messages are reported
Reply #7 – December 03, 2023, 01:17:46 pm
FYI; I fixed the strftime issue in Elkarte 1.1.9. It should work for all languages, but I didn’t manage to test every combination.
Re: After changing the PHP version, thousands of time error messages are reported
Reply #9 – December 04, 2023, 02:22:17 pm
I think I will also switch to 1.1.9 in the next few weeks, but first I want to check whether all installed add-ons will run under this version.