Issue #2641612 by Mac_Weber, heykarthikwithu: Replace deprecated usage of entity_create('search_page') with a direct call to SearchPage::create()