Laravel 10 Ecommerce Project | #5 Category - Create & List | Admin | PHP Tech Life Hindi

Laravel 10 Ecommerce Project | #5 Category - Create & List | Admin | PHP Tech Life Hindi

PHP TECH LIFE

1 год назад

34,980 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Technical FTEB
Technical FTEB - 01.11.2023 23:40

I have a problem

Call to a member function paginate() on null

public function index(){
$categories = Category::latest()->paginate(10);

return view('admin.category.list',compact('categories'));
}

Ответить
wow design
wow design - 01.11.2023 00:22

good night sir
i have one proplem
Route::get('/getSlug', function(Request $request){
$slug = '';
if(!empty($request->title)) {
$slug = Str::slug($request->title);
}
return response()->json([
'status'=>true,
'slug'=>$slug
]);
})->name('getSlug');

and with the test show this proplem ( Undefined property '$title' )

Ответить
sabana rohoman
sabana rohoman - 09.10.2023 06:07

sir, post method not support routes this problem arise, please give me source code

Ответить
Repply Wot Blitz
Repply Wot Blitz - 30.09.2023 19:25

Hello! I have difficulty in laravel 10 ecommecre part 5. error : route[getSlug] not defined.please help me fix it.

Ответить
ENGLISH MASTER
ENGLISH MASTER - 29.09.2023 06:17

Brilliant explanation.

Ответить
Ali Channel
Ali Channel - 28.09.2023 14:14

i have a problem in jequery files please tell me why ???

Ответить
Tomáš Wachtel
Tomáš Wachtel - 21.09.2023 17:04

Hello, nice video :D
Btw. if you add - -resource during creating a new controller, it will automatically add empty index, create, store, show, edit update and destroy functions

Ответить
ClickCode
ClickCode - 17.09.2023 13:38

Sis Str::slug apne banaya hai ya laravel ka default function hai agar apne banaya hai to kaise banaya hai

Ответить
Muawia Hasnain
Muawia Hasnain - 13.09.2023 14:12

undefined method flash how to solve this error

Ответить
Deepshikha Dubey
Deepshikha Dubey - 03.09.2023 15:18

Hello sir I'm unable to find this error please explain it

"The POST method is not supported for route admin/categories/create. Supported methods: GET, HEAD .

Ответить
Vismodeb barmon
Vismodeb barmon - 02.09.2023 17:33

Thank you 🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰🥰

Ответить
AddictMan
AddictMan - 02.09.2023 08:46

The name field is required
The slug field is required

kam nhi krra sir

Ответить
Sumit Sethia
Sumit Sethia - 01.09.2023 17:24

Sir, can i get this code??

Ответить
MobaGames.
MobaGames. - 30.08.2023 18:38

'slug' => fake()->name()->unique() Expected type 'object'. Found 'string'. Sir how i can solved this problem ? syntax unique is nothing object or string how ican solved that ? help sir

Ответить
Rakib khan
Rakib khan - 23.08.2023 22:24

🥰

Ответить
Saman Poureinolah Khalkhali
Saman Poureinolah Khalkhali - 10.08.2023 00:29

Which Vscode extensions you installed?

Ответить
Saman Poureinolah Khalkhali
Saman Poureinolah Khalkhali - 10.08.2023 00:27

Great!🤩

Ответить
Betico Hernandez
Betico Hernandez - 09.08.2023 19:56

Hello.
That line creates an error for me; $request->session()->flash, on the word flash.
Is it necessary to add a session library something like that?

Ответить