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