Steps to replicate the issue (include links if applicable):
- create a new patchdemo demo
- select "Custom" for the Configuration preset
- uncheck all options in "Choose included repos"
What happens?:
Error on php.new when creating environment. I do not have the error at hand, but it has something to do with array_diff on a null object
Error on index.php where
- user cannot create new environment
- the table of environments is not rendered, instead there's the following error
Fatal error: Uncaught TypeError: array_diff(): Argument #2 must be of type array, null given in /var/www/html/index.php:475 Stack trace: #0 /var/www/html/index.php(475): array_diff() #1 {main} thrown in /var/www/html/index.php on line 475
What should have happened instead?:
Either:
- patch demo should gracefully handle demos without any skins, extensions, or modules, or
- patch demo should require all demos are created with at least one skin, extension, or module
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):