Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /in/nJjP0:4
Stack trace:
#0 /in/nJjP0(4): date('Y-m-d', '1 week ago midn...')
#1 {main}
thrown in /in/nJjP0 on line 4
Process exited with code 255.