Showing Error
{message: "Call to a member function prepare() on null",…} exception: "Symfony\Component\Debug\Exception\FatalThrowableError" file: "/var/www/html/broc/vendor/laravel/framework/src/Illuminate/Database/Connection.php" line: 326 message: "Call to a member function prepare() on null" trace: [,…]
Firstly you need to debug that you are using correct DB.
FIle:
Output should be :
After that
You need to extend
EntryModel
which is in thevendor/laravel/telescope/src/Storage/DatabaseEntriesRepository.php
location of the telescope package and set moloquent connection there.
now should be use Moloquent instead of Eloquent used like that
For more detail follow below link