ERROR » Class "Project\Controllers\URL" not found

     /var/www/vhosts/perpa.com.tr/httpdocs/Projects/Perpa/Controllers/post_attachment.php
        

49.     }
50. 
51.     public function stream(Int $id 0)
52.     {
53. 
54.         $post_attachment DB::where('int:id'$id)->get('post_attachment')->row();
55. 
56.         $post Model\Post::row($post_attachment->post_id);
57.         if (empty($post)) {
58. 
            
redirect(URL::site(404)); 59.         } 60.         $access Model\Post::accessPost($post->category_id); 61.         if($access) 62.         { 63.             redirect('access-denied'); 64.         } 65.  66.         /* 67.         if (empty($post_attachment)) { 68.             throw new Pati_Exception_PageNotFound();