Resolve access check errors

Created on 23 May 2023, about 1 year ago
Updated 22 March 2024, 3 months ago

Problem/Motivation

Error: 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.

Locations:

  • web/modules/contrib/mailchimp/modules/mailchimp_campaign/src/Controller/MailchimpCampaignController.php 390
  • web/modules/contrib/mailchimp/modules/mailchimp_lists/mailchimp_lists.module 435
  • web/modules/contrib/mailchimp/modules/mailchimp_signup/src/Form/MailchimpSignupForm.php 495

Steps to reproduce

Scan the module with the upgrade_status module.

Proposed resolution

Resolve the access check errors.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

General

Created by

πŸ‡΅πŸ‡°Pakistan hmdnawaz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024