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

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

Open
DanielDarrenJones opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@DanielDarrenJones
Copy link

DanielDarrenJones commented Feb 26, 2025

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

@ryanmitchell
Copy link
Contributor

Seems ok here, but I'm Laravel 11. Nothing we are doing route wise is abnormal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants