Page 1 of 1

Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, float given

Posted: Fri May 27, 2022 10:53 pm
by vaidyamanishjoshi
Just installed opencart V 4.0 on localhost with php 8.0 and laragon

And getting error at Frontend And Admin Dashboard as follows :

"Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, float given in \system\library\session\db.php:29"

Unable to login to Admin Dashboard too..

Re: Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, float given

Posted: Sun May 29, 2022 8:06 pm
by straightlight
vaidyamanishjoshi wrote:
Fri May 27, 2022 10:53 pm
Just installed opencart V 4.0 on localhost with php 8.0 and laragon

And getting error at Frontend And Admin Dashboard as follows :

"Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, float given in \system\library\session\db.php:29"

Unable to login to Admin Dashboard too..
What do you have on line 29 of that file?