Can Anyone please tell what Error is this?

|
XOREN 2022-01-02 12:20:21
skpnation 2022-01-02 11:17:56
But I want to be able to state in the controller what default guard I need to use

u have to make middleware to change guards

XOREN 2022-01-02 12:24:38
skpnation 2022-01-02 11:17:56
But I want to be able to state in the controller what default guard I need to use

like this:

GuardSwitcher.php

public function handle(Request $request, Closure $next,$guard)
{
auth()->setDefaultDriver($guard);
return $next($request);
}

Kernel.php
protected $routeMiddleware = [
‘guard’ => GuardSwitcher::class

];

web.php // routes

Route::middleware([‘guard:admin_web’])->group(function(){

});

skpnation 2022-01-02 12:55:46
XOREN 2022-01-02 12:24:38
like this:

GuardSwitcher.php

public function handle(Request $request, Closure $next,$guard)
{
auth()->setDefaultDriver($guard);
return $next($request);
}

Kernel.php
protected $routeMiddleware = [
‘guard’ => GuardSwitcher::class

];

web.php // routes

Route::middleware([‘guard:admin_web’])->group(function(){

});

Can i send you the link to the repo. If you can help me solve it I’ll pay you $10

Mamun 2022-01-02 15:11:39
laravel_discuss-103762.jpg
how can i solve this error?
Siberfx 2022-01-02 16:21:27
first of all, do not use echo in laravel, its kinda weird 🙂 use {{ }} and second, you can show this way to avoid {{ optional($main)->bc_image }}
Vishal Mandora 2022-01-02 19:32:09
https://youtu.be/Jq_zxR53BfQ

Laravel 8 select2 Country State City Dropdown with AJAXYouTube
►Friends in this video I will explain to you how to implement Laravel 8 dependent country state city dropdown with AJAX..

►Please Open these links and download all the require files.

Select2
https://select2.org/

Bootstrap:
https://getbootstrap.com/docs/4.0/getting-started/introduction/

J Query embed link:
https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js

►Source Code Link : https://github.com/VMLearningHub/country_state_city

►music : Tobu – Seven [NCS Release]

Thanks for watching see you in the next video stay happy and keep smiling

VM Learning Hub

Bright 2022-01-02 20:48:59
Guys I want to know,
I used hasmanythrogh in laravel
How can I get specific data in blade
Boss_meet 2022-01-02 21:13:15
Hasone
Bright 2022-01-02 22:11:38
Boss_meet 2022-01-02 21:13:15
Hasone

If I use hasonethrogh, how can I fetch the data using forech, for instance
Forech $question as $question
{{$question->answer->id}}

Bright 2022-01-02 22:12:07
Boss_meet 2022-01-02 21:13:15
Hasone

Or has one

Siddhu2904 2022-01-02 22:36:23
Can someone help me to fix this error?

I am trying to run the vuejs with laravel 8

But unable to load

Please someone help me

Siddhu2904 2022-01-02 22:36:57
laravel_discuss-103780.jpg

khamroev 2022-01-03 02:39:53
Someone know the best way using guzzle http request in infinite loop?
surya Jai 2022-01-03 07:59:15
laravel_discuss-103785.jpg

poppyhusk 2022-01-03 08:37:34
khamroev 2022-01-03 02:39:53
Someone know the best way using guzzle http request in infinite loop?

Invalid query

poppyhusk 2022-01-03 08:37:58
I don’t see any practical use case of this thing
poppyhusk 2022-01-03 08:38:14
please don’t waste time of other bys asking non-sense
bryan_king 2022-01-03 09:40:28
khamroev 2022-01-03 02:39:53
Someone know the best way using guzzle http request in infinite loop?

Chunk your data and request bit by bit

bryan_king 2022-01-03 09:41:50
khamroev 2022-01-03 02:39:53
Someone know the best way using guzzle http request in infinite loop?

Better still use a pagination system

Anshu594 2022-01-03 10:44:35
laravel_discuss-103791.jpg
Can Anyone please tell what Error is this ?
. . 2022-01-03 10:57:16
https://youtu.be/OeQ_ipy-bKg

How to build a Point Of Sales application with laravel 8 and Vuejs 3 Episode 01: IntroductionYouTube
In this video we are going to presente a complete Point Of Sales application using laravel and vuejs that we are going to build in this serie of tutorials.In this course you will learn how to build such projects from scratch.
omar khaled 2022-01-03 11:28:17
I have problem when install websocket laravel
omar khaled 2022-01-03 11:28:40
laravel_discuss-103794.jpg

omar khaled 2022-01-03 11:28:56
laravel_discuss-103795.jpg

iyeoluwa 2022-01-03 13:45:54
Add the file to your composer.json file
iyeoluwa 2022-01-03 13:46:57
Then type ‘composer install — ignore-platform-reqs’
iyeoluwa 2022-01-03 13:47:15
You should be fine
Kaushikkt 2022-01-03 14:41:42
omar khaled 2022-01-03 11:28:56

Better if you use composer install -W

Tererai Mugova 2022-01-03 14:44:21
Anshu594 2022-01-03 10:44:35
Can Anyone please tell what Error is this ?

Have you defined the function somewhere?

Tererai Mugova 2022-01-03 14:46:45
Mamun 2022-01-02 15:11:39
how can i solve this error?

You can use ??, $main->bc_img??”;

Dark Matter 2022-01-03 15:12:24
Katsycruxel1 2022-01-01 09:12:53
What is this?

The TALLstack is a tech stack comprising on:

Tailwind.css
Alpine.js
Livewire
Laravel

tallstack.dev

iyeoluwa 2022-01-03 15:36:12
Dark Matter 2022-01-01 08:55:53
Anyone else using the TALL stack?

Yup,me

Dark Matter 2022-01-03 15:36:45
iyeoluwa 2022-01-03 15:36:12
Yup,me

what about jetstream?

iyeoluwa 2022-01-03 15:37:03
Yes I do
Dark Matter 2022-01-03 15:37:13
Are u a freelancer?
|