I don’t know if this is an issue, the findBy() function expects a string as the second parameter, so this is not surprising.
**
* Find a single page by a given value
*
* @param string $field
* @param string $value
* @return Page
*/
public function findBy($field, $value) {
foreach($this->data as $page) {
if($page->$field() == $value) return $page;
}
return false;
}