Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, string given in /in/mlUTN:6
Stack trace:
#0 /in/mlUTN(6): date_format('U', Object(DateTime))
#1 {main}
thrown in /in/mlUTN on line 6
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught TypeError: date_format(): Argument #1 ($object) must be of type DateTimeInterface, string given in /in/mlUTN:6
Stack trace:
#0 /in/mlUTN(6): date_format('U', Object(DateTime))
#1 {main}
thrown in /in/mlUTN on line 6
Process exited with code 255.
Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in /in/mlUTN on line 6
TQ: data_ordine BETWEEN DATE('2017-06-19') AND DATE_ADD(DATE('2017-06-25'), INTERVAL 1 DAY)
B: