- Issue created by @kubokura
- 🇮🇳India muthukris
Hello kubokura,
Facing the same issue after the Drupal upgrade from 9.5.11 to 10.2.6.
My application's actual SimpleSAMLphp and PHP Versions are,
- simpleSAMLphp Authentication: 4.0.0
- SimpleSAMLphp: 2.1.6
- PHP: 8.1.28Upgraded the SimpleSAMLphp version from 2.1.6 to 2.2.2 after looking into your post. But still, I ended up with the same issue.
Chrom Browser: HTTP ERROR 500
PHP Fatal error: Cannot redeclare twig_cycle() (previously declared in docroot/vendor/twig/twig/src/Extension/CoreExtension.php:328) in simplesamlphp/vendor/twig/twig/src/Resources/core.php on line 23
Hello muthukris, you might want to check each Twig version.
head [your path]/docroot/vendor/twig/twig/CHANGELOG -n 1
head [your path]/simplesamlphp/vendor/twig/twig/CHANGELOG -n 1In my case;
drupal
# 3.10.3 (2024-05-16)
simplesamlphp 2.2.2
# 3.9.3 (2024-04-18)If Twig version under your docroot/vendor/twig/twig is before 3.9 and you are using composer for upgrading Drupal, how about trying Drupal 10.2.7 dry-run check? For example;
cp -p composer.json composer.json.`date '+%Y%m%d'`
cp -p composer.lock composer.lock.`date '+%Y%m%d'`
composer require drupal/core:10.2.7 drupal/core-composer-scaffold:10.2.7 drupal/core-project-message:10.2.7 --update-with-dependencies --no-update
composer update drupal/core "drupal/core-*" --with-all-dependencies --dry-runI think you can see Twig version to be update. (After confirmation, please revert composer.json and composer.lock.)
- Status changed to Closed: won't fix
7 months ago 5:49am 24 June 2024