- 🇺🇸United States partdigital
Are you willing to share the access policies you are trying to upgrade? I can perhaps provide some guidance on how to upgrade it manually.
- 🇺🇦Ukraine mero.S
Yes, I upgraded to version 7 beta and the error is the same. So this is the problem with this particular version.
- 🇺🇸United States partdigital
Hi mero.s
There are a lot of changes between beta6 and beta9. Did you attempt to upgrade to beta7 first?
- 🇺🇦Ukraine mero.S
When trying to run drush updb I get the following error: ArgumentCountError: Too few arguments to function Drupal\access_policy\AccessPolicyValidator::__construct(), 3 passed and exactly 4 expected in Drupal\access_policy\AccessPolicyValidator->__construct() (line 75 of /app/web/modules/contrib/access_policy/src/AccessPolicyValidator.php).
When I try to access the site, I get this error:
Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service “access_policy.validator”, path: “access_policy.validator -> exception.access_policy_html”. in Drupal\Component\DependencyInjection\Container->get() (line 149 of core/lib/Drupal/Component/DependencyInjection/Container.php). - 🇺🇦Ukraine mero.S
Exactly the same problem I have now when I update the module to beta9. Unfortunately I can't just uninstall the old configuration along with the module, installing and configuring it all over again.