Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

pose2dion's avatar

i need help

Hi there im newbie in laravel and i was taking coursera lesson about php and laravel im sure im copy the codes taht teacher write but i get a interesting problem under here i will put link of the video and my codes this is the lesson link: https://www.coursera.org/learn/laravel-framework-and-php/lecture/VdG4V/controllers-in-laravel and under here is what i take as error

InvalidArgumentException PHP 8.2.4 10.43.0 View [user.profile] not found.

user.profile was not found.

Expand vendor frames 4 vendor frames App  \  Http  \  Controllers  \  UserController   : 13 getUser 43 vendor frames C:\Users\v\PhpstormProjects\laravel-firsttry\first\public\index .php   : 51 require_once 1 vendor frame C:\Users\v\PhpstormProjects\laravel-firsttry\first\app\Http\Controllers\UserController .php   : 13

0 likes
4 replies
krisi_gjika's avatar

make sure you have a file resources/views/user/profile.blade.php

1 like
amitsolanki24_'s avatar

@pose2dion Recheck your user.profile blade file, is exists or not in

 resources/views/user/profile.blade.php

And Try to run

php artisan view:clear 

command

1 like

Please or to participate in this conversation.