In core/WireMarkupFileRegions.php line 320:
if(!empty($exts)) {
$ext = strtolower(pathinfo($value, PATHINFO_EXTENSION));
if(!in_array($ext, $exts)) {
$errors[] = "Unsupported extension for pw-$action region: $ext";
}
}
What is $exts? Is this variable undefined? Is this missing: $exts = $options['etxs'];?
Similar in core/ModulesConfigs.php, line 705, $info could be undefined. Possible fix is to move
$info = $this->modules->info->getModuleInfoVerbose($moduleName); on line up.