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

Drupal 11 support? #28

Open
romulasry opened this issue Aug 13, 2024 · 2 comments
Open

Drupal 11 support? #28

romulasry opened this issue Aug 13, 2024 · 2 comments

Comments

@romulasry
Copy link

https://pantheon-community.slack.com/archives/C2GJ3JG7Q/p1723514564225359

@macmladen
Copy link

macmladen commented Aug 18, 2024

I wanted to start a Drupal 11 project so I

  1. followed instructions from Pantheon https://docs.pantheon.io/supported-drupal and started a project with Drupal 10 (ok)
  2. git pull-ed the project (ok)
  3. followed the recommendation to upgrade it to Drupal 11 locally (ok) https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-10-to-drupal-11 .

After facing problems, I checked with drush and understood I needed PHP 8.3 and MariaDB 10.6 which I fixed too (ok) by modifying pantheon.yml.

Now I am facing the error with cache.pantheon:

[error] Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "cache.pantheon", path: "cache_tags.invalidator -> cache.pantheon". in Drupal\Component\DependencyInjection\Container->get() (line 147 of /code/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Drush had that same issue with the command:

drush @pantheon.project.dev cr

and dashboard task failed as it can be seen in "Wordflow".

I tried 'drush cron'' as well (with the same error).

'drush status' and 'drush status:report' are both ok as they do not go through Drupal cache mechanism.

@koppieesq
Copy link

For anyone else who made it this far, here's the fix:

  1. Edit your root composer.json file and modify minimum-stability to equal dev
  2. Upgrade this package to 11.x:
composer require pantheon-systems/drupal-integrations:^11
  1. Commit and push to Pantheon
  2. Profit!

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

No branches or pull requests

3 participants