I'm currently getting this error while migrating to a online provider

Fatal error: Uncaught Error: Class 'app\Http\model\MoviePresenter' not found in /home/index.php:4 Stack trace: #0 {main} thrown in /home/index.php on line 4

This code works locally fine it's just decided to stop working on the host. 

below is some of the code 

```
<?php ini_set('display_errors', 1);

$moviePresenter = new \app\Http\model\MoviePresenter; $movieGenreList = $moviePresenter->getMovieGenreList();

function displayMovieList($movieList, $moviePresenter)
{
      $html = '<div class="movie-list row">';   
      $currentURL = \Request::root();  
      foreach ($movieList as $movie) {
          $genreList = $movie->getGenres();
          $movieGenreList = $moviePresenter->getMovieGenreList();

          foreach ($genreList as $genre){
             foreach ($movieGenreList['genres'] as $movieGenre){
                 if($genre->getID() == $movieGenre['id']){
                 $genre->setName($movieGenre['name']);
             }
          }
      }

     $movieID = $movie->getID();   
     $image = $movie->getPosterImage();  
     $poster = '<img class="img-responsive" src="//image.tmdb.org/t/p/w154/'. $image .'" width="195" height="360">';

     $html .= '<div class="col-xl-3 col-lg-4 col-md-6 col-sm-12 d-flex align-items-center flex-column justify-content-center h-100"><a
     href="' . $currentURL . '/movie/' . $movieID . '">';

    $html .= $poster;
    $html .= '</a><div class="moviedetails row">';

    foreach($genreList as $genre){
      $html .= '<a href="'. $currentURL . '/discovery/genre/'. $genre->getID() . '" class="genres">';
      $html .= $genre->getName() . '</a>';
    }

    $html .= '</div></div>';   
    $html .= '</div>';

    return $html; 
}
?>

```

It looks like it's looking within the view (where the snipit is from) for the class instead of the file path.

Can anyone tell me why it's searching the local class instead of the view?