-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
Possible incompatibility with Telescope #1721
Comments
Hi @MattRogowski were you ever able to resolve this problem? |
@dannylepage Still seems to happen on the latest build for me, I just disabled config caching in the end. |
Also seeing this issue. |
You shouldn't be caching your config locally. Avoid caching your config is the solution here. |
I'm seeing this error too on my production environment when I have the caching method set to Debug info:
|
Any updates on this. I need to cache the config for optimization on production and the issue still persist. |
Telescope is a development tool. We're not going to dedicate time to working on making it work in production. If I was to guess at a solution, I might try disabling the auto-discovery and manually register the telescope provider as per the instructions here. https://laravel.com/docs/8.x/telescope#local-only-installation |
Actually now that I've said I wouldn't spend time on it, I think I've found a solution. 😆 |
As per laravel/docs#6598 Closes #1721
Bug Description
When installing Telescope if you have a cached config file, the following error is thrown:
I haven't changed any of the drivers from a default installation, other than the queue driver to use redis.
No idea if this is an issue with Statamic or Telescope, so feel free to close if it's not your problem.
How to Reproduce
Install Laravel Telescope
Cache your config file with
php artisan config:cache
The whole application will error
The only way to then fix is to set
TELESCOPE_ENABLED=false
in your.env
file and then runrm bootstrap/cache/config.php
followed by anotherphp artisan config:cache
Environment
Statamic version: 3.0.0-beta.26
PHP version: 7.4.2
Install method (choose one): Fresh install from
statamic/statamic
The text was updated successfully, but these errors were encountered: