The _google_analytics_visibility_pages function loads the 'path.alias_manager' without catching errors.

However, the actual name for that service is 'path_alias.manager', causing any page triggering that function (most of them) to cause a WSOD.

The fix is simple: just use the proper service name.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fgm created an issue. See original summary.

fgm’s picture

Status: Active » Needs review
FileSize
942 bytes

Suggested patch.

  • japerry committed e20ac58 on 8.x-3.x authored by fgm
    Issue #3145668 by fgm: Incorrect service requested causes WSOD on Drupal...
japerry’s picture

Thanks for finding this! Pushed.

japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.