Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, int given in /in/Du9us:76
Stack trace:
#0 /in/Du9us(76): date_diff(1539554400, 1540418400)
#1 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#2 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#3 {main}
thrown in /in/Du9us on line 76
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_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, int given in /in/Du9us:76
Stack trace:
#0 /in/Du9us(76): date_diff(1539554400, 1540418400)
#1 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#2 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#3 {main}
thrown in /in/Du9us on line 76
Process exited with code 255.
Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, int given in /in/Du9us:78
Stack trace:
#0 /in/Du9us(78): date_diff(1539554400, 1540418400)
#1 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#2 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#3 {main}
thrown in /in/Du9us on line 78
Process exited with code 255.
Output for 8.0.13
Fatal error: Uncaught TypeError: date_diff(): Argument #1 ($baseObject) must be of type DateTimeInterface, int given in /in/Du9us:78
Stack trace:
#0 /in/Du9us(78): date_diff(1539561600, 1540425600)
#1 /in/Du9us(108): daysBetween(1540425600, 1539561600)
#2 /in/Du9us(61): get_pay_cycle_for_active_date(1540425600, 1540425600, Array)
#3 {main}
thrown in /in/Du9us on line 78
Process exited with code 255.
Output for 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: date_diff() expects parameter 1 to be DateTimeInterface, int given in /in/Du9us on line 78
Fatal error: Uncaught Error: Call to a member function format() on bool in /in/Du9us:79
Stack trace:
#0 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#1 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#2 {main}
thrown in /in/Du9us on line 79
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Warning: date_diff() expects parameter 1 to be DateTimeInterface, int given in /in/Du9us on line 78
Fatal error: Uncaught Error: Call to a member function format() on bool in /in/Du9us:79
Stack trace:
#0 /in/Du9us(108): daysBetween(1540425600, 1539561600)
#1 /in/Du9us(61): get_pay_cycle_for_active_date(1540425600, 1540425600, Array)
#2 {main}
thrown in /in/Du9us on line 79
Process exited with code 255.
Warning: date_diff() expects parameter 1 to be DateTimeInterface, integer given in /in/Du9us on line 78
Fatal error: Uncaught Error: Call to a member function format() on boolean in /in/Du9us:79
Stack trace:
#0 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#1 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#2 {main}
thrown in /in/Du9us on line 79
Process exited with code 255.
Output for 7.0.0 - 7.0.18, 7.1.0 - 7.1.4
Warning: date_diff() expects parameter 1 to be DateTimeInterface, integer given in /in/Du9us on line 76
Fatal error: Uncaught Error: Call to a member function format() on boolean in /in/Du9us:79
Stack trace:
#0 /in/Du9us(108): daysBetween(1540418400, 1539554400)
#1 /in/Du9us(61): get_pay_cycle_for_active_date(1540418400, 1540418400, Array)
#2 {main}
thrown in /in/Du9us on line 79
Process exited with code 255.
Output for 5.6.0 - 5.6.40
Warning: date_diff() expects parameter 1 to be DateTimeInterface, integer given in /in/Du9us on line 79
Fatal error: Call to a member function format() on boolean in /in/Du9us on line 79
Process exited with code 255.