Problem/Motivation
isMasterRequest method no longer exist : https://www.drupal.org/node/3212750
Using it breaks website.
Steps to reproduce
Update to D10 and open website
Proposed resolution
Use isMainRequest() instead
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | domain_google_analytics-MasterRequest-3395092.patch | 559 bytes | rdworianyn |
Issue fork domain_google_analytics-3395092
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
shreya_th commentedComment #4
shreya_th commentedHi @pasan.gamage,
I have fixed this issue by changing isMasterRequest() to isMainRequest().Also created MR for this issue . kindly review the changes .
Thank you!
Comment #5
rdworianyn commentedCreated patch for issue so this can be applied via composer.
Comment #6
davidiio commentedPatch applied and no more errors on drupal 10.1.8
Thanks
Comment #7
i-trokhanenkoCreated a 3.0.x-dev release for D10/Symfony 6 compatibility.
Comment #8
i-trokhanenkoComment #10
i-trokhanenkoFixed. Thanks!