ACL command cake migrations migrate -p Acl gives the error

Return value of Acl\Model\Table\AclNodesTable::defaultConnectionName() must be of the type string, null returned
In [E:\xampp\htdocs\site\vendor\cakephp\acl\src\Model\Table\AclNodesTable.php, line 43]

using windows xampp and cakephp4.2.6 strawberry

Have you checked that particular line of code? Looks like it’s probably return Configure::read('Acl.database');? Have you actually set up that configuration?

Thanks, actually cache wasn’t cleared