Installed module and found the configuration page by manually entering /admin/config/search/Google_Custom_Search

But the Search Results URI parameter keeps kicking back an error no matter what I submit:

Invalid URL Alias provided. Please fix the issue before proceeding.

What is it asking for? A path like results/ or search/results right? I guess not since anything like that doesn't work. I've also tried full site address, etc. Any hints?

Comments

maduko created an issue. See original summary.

mark_fullmer’s picture

Status: Active » Needs review
Issue tags: -invalid +deprecated
StatusFileSize
new1.39 KB

The module implements a path alias method that was deprecated in Drupal 8.8. See https://www.drupal.org/node/3013865

If you do not have a crucial need for the (limited) configuration options provided by this module, you might be better served using https://www.drupal.org/project/simple_gse_search, which is Drupal 9 compatible and more actively maintained.

The attached patch fixes the deprecation and makes this module work for Drupal 8.8+ || 9.

shashwat purav’s picture

The patch in #2 failed to apply successfully to 8.x-2.x branch.

shashwat purav’s picture

Status: Needs review » Needs work
mark_fullmer’s picture

Status: Needs work » Needs review
Issue tags: -deprecated
StatusFileSize
new934 bytes

The attached patch should apply to the 2.x branch.