And when i move it to the host i have one screen stoped to save in the table?

|
jonny_gret 2022-03-11 22:23:03
Which one know how to creat SMTP though pmta
RAJESHMAREBOINA 2022-03-11 22:50:21
PHP+LARAVEL
EXP:10 YRS
WFH
OFC: MYSORE
FULL TIME SHARE CV: hiresassociates@gmail.com 9177002368|WhatsApp
RAJESHMAREBOINA 2022-03-11 22:51:17
Any senior PHP DEVELOPER here..??
Legandb 2022-03-12 03:03:14
I need to help me in this case , I don’t know what’s the matter
Legandb 2022-03-12 03:03:32
laravel_discuss-111416.jpg

Legandb 2022-03-12 03:03:57
laravel_discuss-111417.jpg

Legandb 2022-03-12 03:04:17
laravel_discuss-111418.jpg

Legandb 2022-03-12 03:04:44
laravel_discuss-111419.jpg

faissaloux 2022-03-12 03:09:46
Legandb 2022-03-12 03:03:57

Can you dd($user); on line 12 and show me what shows you

Legandb 2022-03-12 03:12:11
Ok
Legandb 2022-03-12 03:18:16
laravel_discuss-111422.jpg

Legandb 2022-03-12 03:18:38
laravel_discuss-111423.jpg

faissaloux 2022-03-12 03:19:04
Legandb 2022-03-12 03:18:16

You didn’t pass it to the view

faissaloux 2022-03-12 03:19:26
You have to return view(‘home’, compact(‘user’));
Legandb 2022-03-12 03:20:58
Gonna tray
sami_neg 2022-03-12 06:51:48
VERY URGENT GUYS
How can I add text to given GIF without using command(exec..) by just php code??
Anand Tujare 2022-03-12 07:30:35
Legandb 2022-03-12 03:18:38

The URL doesn’t have the user id

Anand Tujare 2022-03-12 07:32:27
Pass a user id after home in url… As ur Method has a model binding with User $user as parameter it is unable to find the user hence it’s undefined
zcoll 2022-03-12 10:21:20
Hello πŸ‘‹

I got a system with php oop pure

It’s work work just fine in localhost

And when i move it to the host i have one screen stoped to save in the table ?!

Anand Tujare 2022-03-12 10:34:06
zcoll 2022-03-12 10:21:20
Hello πŸ‘‹

I got a system with php oop pure

It’s work work just fine in localhost

And when i move it to the host i have one screen stoped to save in the table ?!

Can u please elaborate as to if the screen shows any error message .. and if possible can I have a look over anydesk

zcoll 2022-03-12 10:35:48
Anand Tujare 2022-03-12 10:34:06
Can u please elaborate as to if the screen shows any error message .. and if possible can I have a look over anydesk

Okay

zcoll 2022-03-12 10:53:00
laravel_discuss-111444.jpg

mahdidahmardeh 2022-03-12 11:23:48
zcoll 2022-03-12 10:53:00

Json format not valid
please check }] end of Json string

zcoll 2022-03-12 11:27:35
How is that
Legandb 2022-03-12 12:39:02
Anand Tujare 2022-03-12 07:32:27
Pass a user id after home in url… As ur Method has a model binding with User $user as parameter it is unable to find the user hence it’s undefined

Thank u πŸ™πŸ»

Anand Tujare 2022-03-12 12:39:26
Legandb 2022-03-12 12:39:02
Thank u πŸ™πŸ»

Welcome anytime

Harr 2022-03-12 13:10:24
public function welcome()
{
$datablog = content::orderBy(‘updated_at’,’DESC’)
->limit(2)
//->whereDate(‘created_at’, Carbon::today()->subDays(30))
->where(‘status’,’Available’)
->get();
$datacoarse = coarses::orderBy(‘updated_at’,’DESC’)
->limit(2)
//->whereDate(‘created_at’, Carbon::today()->subDays(30))
->where(‘status’,’Available’)
->get();
// currency
//$data=Http::get(‘http://api.exchangeratesapi.io/v1/latest?access_key=a844972a41a4e4f4b3648a4147961a56&format=1’)->json();
$response = Http::acceptJson()
->get(‘http://api.exchangeratesapi.io/v1/latest?access_key=a844972a41a4e4f4b3648a4147961a56&format=1’);
//->get(‘https://freecurrencyapi.net/api/v2/latest’);

if($response->failed()){
// Handle failure here
}
// Data was fetched successfully
$data = collect($response->json());
return view(‘welcome’, [‘data’ => $data])

->with(‘datablog’, $datablog);
}

Harr 2022-03-12 13:10:49
Harr 2022-03-12 13:10:24
public function welcome()
{
$datablog = content::orderBy(‘updated_at’,’DESC’)
->limit(2)
//->whereDate(‘created_at’, Carbon::today()->subDays(30))
->where(‘status’,’Available’)
->get();
$datacoarse = coarses::orderBy(‘updated_at’,’DESC’)
->limit(2)
//->whereDate(‘created_at’, Carbon::today()->subDays(30))
->where(‘status’,’Available’)
->get();
// currency
//$data=Http::get(‘http://api.exchangeratesapi.io/v1/latest?access_key=a844972a41a4e4f4b3648a4147961a56&format=1’)->json();
$response = Http::acceptJson()
->get(‘http://api.exchangeratesapi.io/v1/latest?access_key=a844972a41a4e4f4b3648a4147961a56&format=1’);
//->get(‘https://freecurrencyapi.net/api/v2/latest’);

if($response->failed()){
// Handle failure here
}
// Data was fetched successfully
$data = collect($response->json());
return view(‘welcome’, [‘data’ => $data])

->with(‘datablog’, $datablog);
}

i have this api but does not show any data yet the api has data on it

Legandb 2022-03-12 15:20:28
laravel_discuss-111460.jpg

Legandb 2022-03-12 15:21:06
laravel_discuss-111461.jpg

Legandb 2022-03-12 15:21:25
How can I fix this problem pls
Siberfx 2022-03-12 15:21:53
use optional($user->profile)->title ?? ‘-‘
Devajayantha 2022-03-12 15:21:55
Legandb 2022-03-12 15:21:06

Try dump $user->profile

Legandb 2022-03-12 15:22:34
In controller ?
Siberfx 2022-03-12 15:22:41
use in blade
|