← prev | next →
Azad Akhtar 2021-03-28 11:58:00
1: Route::delete(‘/student/{id}’,[StudentController::class,’destory’]);
2 : public function destroy($id)
{
//
$data = Student::find($id);
$data->delete();
session()->flash(‘message’, ‘Student has been deteleted successfully.’);
return redirect()->to(‘/student/list’);
}
Azad Akhtar 2021-03-28 11:59:02
above code i have tried to delete student record by id why i am getting error
https://prnt.sc/10xxdgc
Screenshot –
LightshotCaptured with Lightshot
snehalkadwe 2021-03-28 12:01:34
Use get instead Route::delete
Azad Akhtar 2021-03-28 12:03:01
yes but when i use get tahn getting error
Method AppHttpControllersStudentController::destory does not exist.
Azad Akhtar 2021-03-28 12:03:34
destory is already available in the controller
Azad Akhtar 2021-03-28 12:04:44

Thanks it was my spell mistake
snehalkadwe 2021-03-28 12:04:57
Azad Akhtar 2021-03-28 12:04:44
Thanks it was my spell mistake
Ok
foulla_sam 2021-03-28 12:05:05
Azad Akhtar 2021-03-28 11:10:53
Thanks but i changed method to update like
Student::find($id)->update($request->all());
session()->flash(‘message’, ‘Student updated successfully.’);
return redirect()->to(‘/student/list’);
I guest your problem is using $request->id instead of $id
Azad Akhtar 2021-03-28 12:05:58
now no any issue updating data properly
Thanks for help
valenci007 2021-03-28 12:36:59
Anyone pls help me with php storm activation code
w3lifer 2021-03-28 12:40:46
valenci007 2021-03-28 12:36:59
Anyone pls help me with php storm activation code
License maybe? 100$ — it’s not very many for developers.
valenci007 2021-03-28 12:41:56
w3lifer 2021-03-28 12:40:46
License maybe? 100$ — it’s not very many for developers.
I want to start using php storm do you know any site with a crack
w3lifer 2021-03-28 12:44:21
valenci007 2021-03-28 12:41:56
I want to start using php storm do you know any site with a crack
No, sorry 😐 I’m buying it.
valenci007 2021-03-28 12:52:47
w3lifer 2021-03-28 12:44:21
No, sorry 😐 I’m buying it.
Wow thats sad thanks
foulla_sam 2021-03-28 13:04:21
valenci007 2021-03-28 12:41:56
I want to start using php storm do you know any site with a crack
Dm me, it is not legal so I don’t want to share in the group
realSamy 2021-03-28 13:35:44
valenci007 2021-03-28 12:41:56
I want to start using php storm do you know any site with a crack
@ JetBrainsCrack
valenci007 2021-03-28 13:38:37
realSamy 2021-03-28 13:35:44
@ JetBrainsCrack
where can i get this
valenci007 2021-03-28 13:38:51
realSamy 2021-03-28 13:35:44
@ JetBrainsCrack
twitter?
realSamy 2021-03-28 13:39:30
valenci007 2021-03-28 13:38:51
twitter?
telegram:/
jakhongir_bakhodirov 2021-03-28 13:42:21

hi everybody
I don’t know why this error happened there is no User.php file in directory vendor/composer. In fact there no directory app/Models in folder composer
Guys Could you help me to solve this problem
I figured out about this error in google but I couldn’t find it to fix.
jakhongir_bakhodirov 2021-03-28 13:43:45
jakhongir_bakhodirov 2021-03-28 13:42:21
hi everybody
I don’t know why this error happened there is no User.php file in directory vendor/composer. In fact there no directory app/Models in folder composer
Guys Could you help me to solve this problem
I figured out about this error in google but I couldn’t find it to fix.
in addition, there is app.blade.php file in my project
realSamy 2021-03-28 13:45:18
jakhongir_bakhodirov 2021-03-28 13:42:21
hi everybody
I don’t know why this error happened there is no User.php file in directory vendor/composer. In fact there no directory app/Models in folder composer
Guys Could you help me to solve this problem
I figured out about this error in google but I couldn’t find it to fix.
isn’t there more traces under this error?
valenci007 2021-03-28 13:47:14
jakhongir_bakhodirov 2021-03-28 13:42:21
hi everybody
I don’t know why this error happened there is no User.php file in directory vendor/composer. In fact there no directory app/Models in folder composer
Guys Could you help me to solve this problem
I figured out about this error in google but I couldn’t find it to fix.
user.php comes with laravel by default
jakhongir_bakhodirov 2021-03-28 14:35:25
valenci007 2021-03-28 13:47:14
user.php comes with laravel by default
but there is no user.php file in current directory
jakhongir_bakhodirov 2021-03-28 14:37:53
realSamy 2021-03-28 13:45:18
isn’t there more traces under this error?

jakhongir_bakhodirov 2021-03-28 14:54:56
jakhongir_bakhodirov 2021-03-28 14:37:53
I haven’t look through the stack track
So , I haven’t installed bootstrap in my laravel project via using composer
AfshinEfati 2021-03-28 18:25:13
hi
how i can get all contact list user ?
google – phone contact like facebook or linkedin
Jomitz 2021-03-28 19:17:09
jakhongir_bakhodirov 2021-03-28 13:42:21
hi everybody
I don’t know why this error happened there is no User.php file in directory vendor/composer. In fact there no directory app/Models in folder composer
Guys Could you help me to solve this problem
I figured out about this error in google but I couldn’t find it to fix.
You must have called the user model in the blade.php file mentioned in the error
Jomitz 2021-03-28 19:17:34
Check for User class in the blade.php file
asoltaniir 2021-03-28 19:21:51
Hi. How fix Cors error? I have the restfull api on subdmain api.domain.com and my front app is on domain.com
Jomitz 2021-03-28 19:32:13
asoltaniir 2021-03-28 19:21:51
Hi. How fix Cors error? I have the restfull api on subdmain api.domain.com and my front app is on domain.com
Create an htaccess in the server to accept from that domain only
Jomitz 2021-03-28 19:32:34
Or you could allow all in the . Htaccess file in the server
Nomiilk 2021-03-28 21:36:52
Any react native développer here ?
meylisovezov 2021-03-28 22:30:44
Hi Guys, I am junior Laravel Developer, have 1 year experience, currently i am in need of remote job, can you help in this?
K_a5674 2021-03-28 23:33:07
Hello, I want to learn laravel. Is there a free course on YouTube, preferably from scratch?
← prev | next →