Why this has error, too?

|
2019-07-31 15:07:37
laravel_discuss-10238.jpg

acrossoffwest 2019-07-31 15:08:40
2019-07-31 15:07:37

show User class

yoofi_graham 2019-07-31 15:09:01
2019-07-31 15:06:49
User is child
And usertypes is parent

Can you share your user model

2019-07-31 15:09:42
laravel_discuss-10241.jpg

yoofi_graham 2019-07-31 15:17:46
2019-07-31 15:09:42

hmm looks fine

2019-07-31 15:18:45
yoofi_graham 2019-07-31 15:17:46
hmm looks fine

But I can’t get usertypes😑

acrossoffwest 2019-07-31 15:19:16
2019-07-31 15:18:45
But I can’t get usertypes😑

Can you share Usertype model class

2019-07-31 15:20:07
laravel_discuss-10245.jpg

shubhamdhyani 2019-07-31 15:22:01
on what key are they related?
shubhamdhyani 2019-07-31 15:22:07
user and user type
yoofi_graham 2019-07-31 15:29:10
2019-07-31 15:09:42

Can you specify the related columns like return $this->belongsTo(‘Usertype::class’, ‘foreign_key’);

yoofi_graham 2019-07-31 15:31:35
2019-07-31 15:20:07

And same for this return $this->hasMany(‘YourClass’, ‘foreign_key’, ‘local_key’);

2019-07-31 15:32:40
shubhamdhyani 2019-07-31 15:22:07
user and user type

usertype_id
But we can’t get parent table from child table

acrossoffwest 2019-07-31 15:36:28
yoofi_graham 2019-07-31 15:29:10
Can you specify the related columns like return $this->belongsTo(‘Usertype::class’, ‘foreign_key’);

Farnaz try it

2019-07-31 15:38:12
yoofi_graham 2019-07-31 15:31:35
And same for this return $this->hasMany(‘YourClass’, ‘foreign_key’, ‘local_key’);

Tnx I’ll test it and tell itπŸ™πŸ™πŸ™

Baarfani 2019-07-31 15:40:26
Hayy
Baarfani 2019-07-31 15:40:53
Anyone can help me to solve the error in laravel code
Baarfani 2019-07-31 15:41:03
Pls..πŸ™πŸ™πŸ™πŸ™πŸ™
zack6849 2019-07-31 15:41:21
ask your actual question and maybe someone will think about it πŸ™πŸ™πŸ™πŸ™πŸ™
Baarfani 2019-07-31 15:44:06
zack6849 2019-07-31 15:41:21
ask your actual question and maybe someone will think about it πŸ™πŸ™πŸ™πŸ™πŸ™

Ok

Baarfani 2019-07-31 15:44:22
Kind of this error i am facing
Baarfani 2019-07-31 15:44:27
Help me pla
acrossoffwest 2019-07-31 15:45:34
Baarfani 2019-07-31 15:44:22
Kind of this error i am facing

try to set permissions to storage dir

2019-07-31 15:46:49
acrossoffwest 2019-07-31 15:36:28
Farnaz try it

Done tnx😊

shubhamdhyani 2019-07-31 16:08:13
2019-07-31 15:46:49
Done tnx😊

doesnt matter if its child or parent relation….laravel needs to know the relation

shubhamdhyani 2019-07-31 16:09:06
Baarfani 2019-07-31 15:44:22
Kind of this error i am facing

all apis are not working or some of them are?

yoofi_graham 2019-07-31 16:10:07
2019-07-31 15:46:49
Done tnx😊

Worked?

zack6849 2019-07-31 16:27:10
Lmao
zack6849 2019-07-31 16:27:10
Check your error log?
onsundaymorning 2019-07-31 16:37:36
Hi all, do you guys know Bootstrap telegram group? I’m learning on it now
Baarfani 2019-07-31 18:35:50
shubhamdhyani 2019-07-31 16:09:06
all apis are not working or some of them are?

Just i am able to perform steps as shown in video s

Ahmed Magdi 2019-07-31 20:55:51
Hello guys i need tutorials about socket.io with laravel
Any body help??!!
ErgashevXurshid 2019-07-31 21:06:14
Ahmed Magdi 2019-07-31 20:55:51
Hello guys i need tutorials about socket.io with laravel
Any body help??!!

https://m.youtube.com/results?search_query=Laravel+vs+socket.io

Laravel vs socket.io – YouTubeYoutube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
oxbir 2019-07-31 23:30:15
laravel_discuss-10275.jpg

oxbir 2019-07-31 23:30:57
oxbir 2019-07-31 23:30:15

Why this has error, too?

oxbir 2019-07-31 23:40:42
How to creare if you choose marketing, you must enter the code
yoofi_graham 2019-07-31 23:47:17
oxbir 2019-07-31 23:30:15

Try this

‘referral_code’ => ‘required_if:familiar,==,4’
}

yoofi_graham 2019-07-31 23:49:13
yoofi_graham 2019-07-31 23:47:17
Try this

‘referral_code’ => ‘required_if:familiar,==,4’
}

comment line 35,36,37,38 and try this

oxbir 2019-07-31 23:51:28
yoofi_graham 2019-07-31 23:47:17
Try this

‘referral_code’ => ‘required_if:familiar,==,4’
}

What is ,?

oxbir 2019-07-31 23:51:38
laravel_discuss-10283.jpg

yoofi_graham 2019-07-31 23:54:04
oxbir 2019-07-31 23:51:28
What is ,?

You want “referral_code” to be required only if “familiar” is equal to 4 right?

oxbir 2019-07-31 23:55:22
yoofi_graham 2019-07-31 23:54:04
You want “referral_code” to be required only if “familiar” is equal to 4 right?

the , must entered?

yoofi_graham 2019-07-31 23:57:23
oxbir 2019-07-31 23:55:22
the , must entered?

Yes

yoofi_graham 2019-07-31 23:58:53
Working ?
oxbir 2019-08-01 00:02:56
yoofi_graham 2019-07-31 23:58:53
Working ?

yes

yoofi_graham 2019-08-01 00:03:19
AlrightπŸ‘
oxbir 2019-08-01 00:03:47
thank you/
oxbir 2019-08-01 00:04:02
how to translate it now?
yoofi_graham 2019-08-01 00:04:48
oxbir 2019-08-01 00:03:47
thank you/

You’re welcome

yoofi_graham 2019-08-01 00:04:53
oxbir 2019-08-01 00:04:02
how to translate it now?

What do you want to translate?

|