Safelincs
-
Posts
9 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Safelincs
-
-
Weirdly, at 05:03am this morning, we started getting a lot of exceptions on our forum. (in conf_global.php we use `set_exception_handler()` to email exceptions to us).
PHP was upgraded from 7.4 to 8.1 yesterday morning, but it was 20 hours until we saw any exceptions come through and we have notice over 10k of these coming through so it's happening a lot. A dump of the exception reveals, for example:
$e] => Exception Object ( [message:protected] => Failed to parse time string (Wed, 01 Aug 4426001 20:55:36 GMT) at position 16 (0): Unexpected character [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/vhosts/forum/public/applications/core/modules/front/search/search.php [line:protected] => 49 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhosts/forum/public/applications/core/modules/front/search/search.php [line] => 49 [function] => __construct [class] => DateTime [type] => -> ) [1] => Array ( [file] => /var/www/vhosts/forum/public/applications/core/modules/front/search/search.php [line] => 64 [function] => _checkCached [class] => IPS\core\modules\front\search\_search [type] => -> ) [2] => Array ( [file] => /var/www/vhosts/forum/public/system/Dispatcher/Controller.php [line] => 118 [function] => manage [class] => IPS\core\modules\front\search\_search [type] => -> ) [3] => Array ( [file] => /var/www/vhosts/forum/public/system/Dispatcher/Dispatcher.php [line] => 153 [function] => execute [class] => IPS\Dispatcher\_Controller [type] => -> ) [4] => Array ( [file] => /var/www/vhosts/forum/public/index.php [line] => 13 [function] => run [class] => IPS\_Dispatcher [type] => -> ) ) [previous:Exception:private] =>
Obviously,
Wed, 01 Aug 4426001 20:55:36 GMT
looks off - as if the wrong format has been specified for year or something?
I looked for date time formats in the settings but couldn't find any. The software is up to date and there aren't issues in the "Get Support" panel, after upgrading PHP.
Any thoughts?
Regards
-
-
We don't have any applications or plugins at all. I'll submit a ticket, thank you.
-
At least one of our members is getting notices saying their posts are awaiting moderation, despite the fact they're in our Power Member group:
And that group has the following set:
Other members in the same group are posting fine.
Can anyone suggest something we might be missing?
Many thanks
Many "Failed to parse time string" exceptions started today
in Technical Problems
Posted
This seemed to resolve itself so this can be marked as resolved