Fatal error: Uncaught ArgumentCountError: Too few arguments to function getDay(), 1 passed in /in/ANJfO on line 11 and exactly 2 expected in /in/ANJfO:3
Stack trace:
#0 /in/ANJfO(11): getDay('Monday')
#1 {main}
thrown in /in/ANJfO on line 3
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 ArgumentCountError: Too few arguments to function getDay(), 1 passed in /in/ANJfO on line 11 and exactly 2 expected in /in/ANJfO:3
Stack trace:
#0 /in/ANJfO(11): getDay('Monday')
#1 {main}
thrown in /in/ANJfO on line 3
Process exited with code 255.
Output for 7.0.5 - 7.0.24
Warning: Missing argument 2 for getDay(), called in /in/ANJfO on line 11 and defined in /in/ANJfO on line 3
Notice: Undefined variable: date in /in/ANJfO on line 7
Notice: Undefined variable: today in /in/ANJfO on line 8
Fatal error: Uncaught Error: Call to a member function format() on null in /in/ANJfO:8
Stack trace:
#0 /in/ANJfO(11): getDay('Monday')
#1 {main}
thrown in /in/ANJfO on line 8
Process exited with code 255.
Output for 7.0.0 - 7.0.4
Warning: Missing argument 2 for getDay(), called in /in/ANJfO on line 11 and defined in /in/ANJfO on line 3
Notice: Undefined variable: date in /in/ANJfO on line 7
Notice: Undefined variable: today in /in/ANJfO on line 8
Fatal error: Uncaught Error: Call to a member function format() on unknown in /in/ANJfO:8
Stack trace:
#0 /in/ANJfO(11): getDay('Monday')
#1 {main}
thrown in /in/ANJfO on line 8
Process exited with code 255.