Hello
I have setup behat, selenium, chromedriver, geckodriver, and if I run php admin/tool/behat/cli/init.php I see the following error:
PHP Fatal error: During inheritance of IteratorAggregate: Uncaught ArgumentCountError: Too few arguments to function default_error_handler(), 4 passed in /home/joanna/development/projname/moodle/lib/navigationlib.php on line 897 and exactly 5 expected in /home/joanna/development/projname/moodle/lib/setuplib.php:425
I am on Linux, NGINX, with a Moodle 3.9 running on PHP7.4 from the nginx serverbox. (If I run php --version I get the laptop general version of PHP 8.3.8. Unsure if this is relevant but saw a previous post that mentioned php versions so thought I'd mention it).
Any idea what is causing the error and how to resolve it?
Thanks!
Jo