Resolve access check errors

Created on 23 May 2023, over 1 year ago
Updated 22 March 2024, 8 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.71.5 2024