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

Make query example work by using the database service #5680

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Make query example work by using the database service #5680

merged 1 commit into from
Jun 28, 2023

Conversation

kekkis
Copy link
Contributor

@kekkis kekkis commented Jun 28, 2023

Without this change the error message is

Error: Non-static method Drupal\Core\Database\Connection::query() cannot be called statically in eval().

Without this change the error message is

Error: Non-static method Drupal\Core\Database\Connection::query() cannot be
called statically in eval().
@weitzman weitzman merged commit 301cd24 into drush-ops:12.x Jun 28, 2023
1 of 2 checks passed
@kekkis kekkis deleted the fix-query-example branch June 28, 2023 14:26
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.

None yet

2 participants