Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placeholder MediaContentAccessCheck class to fix error when installing #8

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ruscoe
Copy link

@ruscoe ruscoe commented Jul 9, 2024

Line 50 of dropai.services.yml names a class that does not exist (Drupal\dropai\Access\MediaContentAccessCheck). This causes the following error when trying to install the DropAI module on Drupal 10.3.1:

Uncaught PHP Exception TypeError: "in_array(): Argument #2 ($haystack) must be of type array, bool given" at /var/www/d10/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterAccessChecksPass.php line 46

This pull request adds a placeholder class that resolves the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant