Missing $like array variable

In line 418, there is a foreach loop that uses class variable $like but is not declared anywhere the source code.