@aniuska  This isn't a global function; it's a class method. Please make sure to call $this->hasArticleMatch() instead.