The issue is caused by a mismatch between the Joomla\CMS\Application\ConsoleApplication call to the parent constructor, and the Joomla\Console\Application.
This fix simply removes the extra parameter of the parent constructor call, to match the parent constructor definition.
Testing Instructions
Create a CLI script. For instance, you can use this script as a sample script Joomla Console.
Read a variable from the general configuration. e.g. offline_message
I have tested this item✅ successfully on 4ef326e
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23100.