The problem is here:
Route::get('/', 'pagesController@getWelcome');
Route::get('/', 'pagesController@Pagination');
The get request to "/" doesn't know where to go, you are providing two functions with the same route, so you may change one of them and try again or give it query string.
Route::get('/random-entries', 'pagesController@getWelcome');
Route::get('/entries', 'pagesController@Pagination');
Or if the same url then pass a query string like that
Route::get('/?random=1', 'pagesController@getWelcome'); // or make this from the view
Route::get('/', 'pagesController@Pagination');
and in contoller
public function getWelcome()
{
if(request('random')) return $this->Pagination();
$entry = Entry::inRandomOrder()->first();
return view('entries.show')->with('entry', $entry);
}
public function Pagination()
{
$entry = Entry::paginate(15);
return view('partials.left_sidebar')->with('entry', $entry);
}