In the /tools/sandbox/cli_config.php, you decided to use a HelperSet rather than an array ; the thing is, it is not traversable via a foreach. So, the foreach that is just underneath this declaration is not iterating over the set, and the sets "em" and "db" are not declared...