You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception - date(): Argument #2 ($timestamp) must be of type ?int, string given
[More information about this error](https://docs.moodle.org/404/en/error/moodle/generalexceptionmessage)
Debug info:
Error code: generalexceptionmessage×Dismiss this notification
Stack trace:
line 63 of /auth/saml2/regenerate.php: TypeError thrown
line 63 of /auth/saml2/regenerate.php: call to date()
Seems to be true the second parameter is a str_replace which returns a string not an int. Casting the str_replace with (int) seems to sort it.
The text was updated successfully, but these errors were encountered:
To resolve this error, you can cast the result of the str_replace function to an integer, as suggested. This ensures that the second argument passed to the date() function is of type int, which is what it expects.
Seems to be true the second parameter is a str_replace which returns a string not an int. Casting the str_replace with (int) seems to sort it.
The text was updated successfully, but these errors were encountered: