modules/contrib/google_tag/src/Migration/GoogleTagUpgradeManager.php line 24
Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call \Drupal\Core\Entity\Query\QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.

CommentFileSizeAuthor
#2 google_tag-3391652.patch579 bytesalina.basarabeanu

Issue fork google_tag-3391652

Command icon 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:

  • 2.0.x Comparecompare

Comments

Alina Basarabeanu created an issue. See original summary.

alina.basarabeanu’s picture

StatusFileSize
new579 bytes

For some reason, the fork branch was not created.
A patch was created for the fix.

alina.basarabeanu’s picture

Status: Active » Needs review
schillerm’s picture

Hi Alina, I tested your patch and it worked.

I installed google_tag 2.0.x-dev and upgrade-status 4.0 modules on a Drupal 9.5.0 site.
Ran upgrade-status saw the default error as described.
Applied patch #2, cleared the cache, reran upgrade-status and error had gone.

+1 for RTBC.

japerry made their first commit to this issue’s fork.

japerry’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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