Here is the actual request
$search = Search::find()->where(['or like', ['name','description'], $query])->limit(30); You give this error
strpos() expects parameter 1 to be string, array given the documentation is described as follows
or like: is similar to the like operator, only LIKE statements will be combined using the OR operator if the second operand is represented by an array.