Error thrown

Call to a member function configure_search() on null