At least it’s now showing that the getQueryFromOptions method is being called, even if it’s not working right.
Before the rollback, the __construct should have set $this->options[‘facprops’], based on the diagnostic you rolled back. That showed that $this->options[‘facprops’][‘test’][‘query’] was set to the string we expected: ‘safe s’.
The fact that $this->options[‘facprops’][$key][‘query’] is giving nothing now means that either it got unset somehow or the key is messed up. To test that, change the line between 179 and 180 to this pair of lines
echo __METHOD__."key:$key query:".$this->options[‘facprops’][$key][‘query’].”<hr>”;
echo __METHOD__."key:test query:".$this->options[‘facprops’]['test'][‘query’].”<hr>”;
The first one should just tell us if it’s trying ‘test’ as the key. The second will tell us whether something messed up $this->options.
I’m also wondering if there are other plugins that could be messing things up, because I can’t come up with a mechanism that would cause this.