|
$outputFile = isset($subInnerConf['outputfile']) ? trim($subInnerConf) : null; |
Shouldn't that line be the following instead? I mean you cannot trim() an array anyway and we need a string file name here.
$outputFile = isset($subInnerConf['outputfile']) ? trim($subInnerConf['outputfile']) : null;