Skip to content

Route [statamic.cp.mailchimp.config.edit] not defined. When routes are cached. #138

@DanielDarrenJones

Description

@DanielDarrenJones

Description

When ever I cache the routes with the mailchimp plugin installed I get a 500 error when visiting the CP and the log says Route [statamic.cp.mailchimp.config.edit] not defined., as soon as the clear the route cache this issues resolves itself.

Steps to reproduce

  1. Install plugin
  2. Cache routes
  3. Get 500 error when visiting the CP.

Environment

Environment
Application Name: Pelorus
Laravel Version: 10.48.22
PHP Version: 8.3.9
Composer Version: 2.8.6
Environment: production
Debug Mode: OFF
URL: pelorustravel.com/
Maintenance Mode: OFF

Cache
Config: CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: redis
Database: mysql
Logs: stack / single
Mail: smtp
Queue: redis
Session: redis

Statamic
Addons: 10
Sites: 10 (Travel (GB), Travel (US), Aviation (GB), and 7 more)
Stache Watcher: Disabled
Static Caching: full
Version: 5.32.0 PRO

Statamic Addons
aryehraber/statamic-captcha: 1.13.0
doefom/currency-fieldtype: 1.4.1
gerttimmerman/statamic-zapier: 1.6
jacksleight/statamic-bard-texstyle: 3.3.1
ndx/statamic-bard-color-picker: 2.0.0
ryanmitchell/statamic-translation-manager: 2.0.0
statamic-rad-pack/mailchimp: 5.2.2
statamic/eloquent-driver: 4.15.2
thoughtco/statamic-cache-tracker: 0.9.3
withcandour/aardvark-seo: 5.0.0

Statamic Eloquent Driver
Asset Containers: eloquent
Assets: eloquent
Blueprints: file
Collection Trees: file
Collections: file
Entries: file
Forms: file
Global Sets: file
Global Variables: file
Navigation Trees: file
Navigations: file
Revisions: file
Sites: file
Taxonomies: file
Terms: file
Tokens: file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions