Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When going to the mailchimp ecommerce admin page at /admin/config/services/mailchimp/ecommerce I get the following error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "commerce_store.store_context". in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).
I'm currently using the latest dev version of Drupal commerce
Comment | File | Size | Author |
---|---|---|---|
#7 | store-context-2913596-7.patch | 2.48 KB | Lukas von Blarer |
#6 | store-context-2913596-6.patch | 3.42 KB | Lukas von Blarer |
Comments
Comment #2
sagesolutions CreditAttribution: sagesolutions commentedWell I got past this issue, but now I have another one..
ReflectionException: Method Drupal\Core\Config\ConfigFactory::buildForm() does not exist in ReflectionMethod->__construct() (line 110 of /var/www/html/drupal/vendor/symfony/http-kernel/Controller/ControllerResolver.php).
attached is the patch for the first part of this bug.
Comment #3
sagesolutions CreditAttribution: sagesolutions commentedWell after clearing the cache, and applying the patch, I can see the Admin page!
/admin/config/services/mailchimp/ecommerce now loads!
Comment #4
Lukas von BlarerThe patch didn't apply using composer so here is a re-roll
Comment #5
Lukas von BlarerAfter applying the patch I also get this error:
ReflectionException: Method Drupal\Core\Config\ConfigFactory::buildForm() does not exist in ReflectionMethod->__construct() (line 110 of /var/www/drupal/public_html/vendor/symfony/http-kernel/Controller/ControllerResolver.php).
Clearing caches didn't resolve the issue. What else have you done to it working?
Comment #6
Lukas von BlarerThis patch fixes the issue for me.
Comment #7
Lukas von BlarerI mixed up some code from another issue. This patch is only regarding the admin form.
Comment #8
Lukas von BlarerThis is actually critical.
Comment #10
ruscoe CreditAttribution: ruscoe at ThinkShout for Mailchimp commentedThank you for the patch, Lukas. Sorry this took so long to get committed.