question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Class Laravel\Telescope\Contracts\EntriesRepository does not exist

See original GitHub issue

Description

When using this package in conjunction with https://github.com/barryvdh/laravel-debugbar, Calling @routes blade directive or the artisan command triggers the error:

Class Laravel\Telescope\Contracts\EntriesRepository does not exist

Environment

  • Laravel version: 7.x
  • Ziggy version: 1.0

Related routes:

n/a

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
jroskicommented, Nov 12, 2020

I do not have Telescope installed. I believe the error is thrown because a route is defined in the debugbar package for Telescope even if it isn’t installed. I’ve located the specific route in the debugbar package:

$router->get('telescope/{id}', [ ' uses' => 'TelescopeController@show', 'as' => 'debugbar.telescope', ]); The TelescopeController@show method has a dependency of Laravel\Telescope\Contracts\EntriesRepository, which doesn’t exist unless Telescope is installed.

0reactions
Soglcommented, May 24, 2021

Solved after update to PHP 7.3, Laravel 6.20.27, laravel-debugbar 3.5.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Laravel Telescope Failed to open stream: no such file or ...
I checked after the "fake" installed successfully message if the TelescopeServiceProvider exists now but it still didn't. What did I do wrong ...
Read more >
Laravel Telescope - The PHP Framework For Web Artisans
Telescope provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache ...
Read more >
Upgrade Guide (Laravel 9.x)
If you are upgrading your Laravel 8 project to Laravel 9 by importing your existing application code into a totally new Laravel 9...
Read more >
Laravel Code Tips
Laravel Tip: Default Models. In your relationships, you can define default models. That way if the relationship doesn't exist it will return a...
Read more >
Illuminate\Contracts\Container\BindingResolutionException Target ...
Queries related to “Illuminate\Contracts\Container\BindingResolutionException Target class [customersController] does not exist.” laravel route not found ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found