Contents:
Which is the error?
Are you sure that the store method has been called?
Can you debug the code?
Can anyone help me?
has anyone here ever used payoneer before ?
where is an error?
share the code how it looks now?
Which is the error?
Are you sure that the store method has been called?
Can you debug the code?
Can anyone help me?
has anyone here ever used payoneer before ?
where is an error?
share the code how it looks now?
Relaxed Guy 2020-04-13 13:18:17
Am having an error how can I solve t
Marvixino 2020-04-13 13:22:48

Marvixino 2020-04-13 13:23:15
Marvixino 2020-04-13 13:22:48
Why store() is not working?!
cayetanohosma 2020-04-13 13:24:18
Marvixino 2020-04-13 13:23:15
Why store() is not working?!
Which is the error?
cayetanohosma 2020-04-13 13:24:54
Relaxed Guy 2020-04-13 13:18:17
Am having an error how can I solve t
You must create a new connection named ‘uploads’ and connect to the database in order to your code works
Marvixino 2020-04-13 13:24:57
cayetanohosma 2020-04-13 13:24:18
Which is the error?
“message”: “SQLSTATE[HY000]: General error: 1364 Field ’email’ doesn’t have a default value (SQL: insert into email_verifications (`updated_at`, `created_at`) values (2020-04-13 10:17:26, 2020-04-13 10:17:26))”,
cayetanohosma 2020-04-13 13:25:55
Are you sure that the store method has been called?
Marvixino 2020-04-13 13:27:24
yes, if I add default value in the DB it store it, $this->save() working, but it is not taking other values!
cayetanohosma 2020-04-13 13:28:51
Marvixino 2020-04-13 13:27:24
yes, if I add default value in the DB it store it, $this->save() working, but it is not taking other values!
Try to setup the email field value into the __construct()
Marvixino 2020-04-13 13:32:20
cayetanohosma 2020-04-13 13:28:51
Try to setup the email field value into the __construct()
the same issue, even for the token
cayetanohosma 2020-04-13 13:32:36
It’s so weird
cayetanohosma 2020-04-13 13:32:44
Can you debug the code?
cayetanohosma 2020-04-13 13:33:17
Put a breakpoint on save() and debug to check what’s the content for the $this fields
Marvixino 2020-04-13 13:34:08
cayetanohosma 2020-04-13 13:33:17
Put a breakpoint on save() and debug to check what’s the content for the $this fields
this will take time … all in docker, I will do
cayetanohosma 2020-04-13 13:58:20
Welcome Its_kbs_❤
MatPk 2020-04-13 14:21:00

Hey guys. I wrote this relations for Commenting system.
Its nice and okay but it has problems with child relation.
For e.g when i say:
$article->comment->child->user->name
It does not know
user
but when i say:
$article->comment->user->name
it totally works fine. Can anyone help me?
Siberfx 2020-04-13 15:42:35
pm me, lets solve it
Patricklab 2020-04-13 18:37:33
has anyone here ever used payoneer before ?
GopalAryaExplorer 2020-04-13 19:42:40
I’m coding with filezilla. And I want to run pdf command how is it possible
2020-04-13 20:35:26

2020-04-13 20:35:37
where is an error?
2020-04-13 20:37:13

2020-04-13 20:37:18
i couldnt fix it
Siberfx 2020-04-13 20:37:38
After where condition
Siberfx 2020-04-13 20:38:07
Use first()
2020-04-13 20:38:17
then posts?
Siberfx 2020-04-13 20:38:21
Yes
Siberfx 2020-04-13 20:39:43
Also i advise you to get through post model
Siberfx 2020-04-13 20:39:48
related ones
Siberfx 2020-04-13 20:39:59
Easier and less code
2020-04-13 20:40:16
how?
2020-04-13 20:40:21
hasThrough?
Siberfx 2020-04-13 20:40:42
No
Siberfx 2020-04-13 20:40:46
Wait i go pc
2020-04-13 20:40:54
OK
DesolatorMagno 2020-04-13 20:41:49
Read the error, it said posts
2020-04-13 20:42:12
DesolatorMagno 2020-04-13 20:41:49
Read the error, it said posts
fixed bro because of
Siberfx 2020-04-13 20:43:42
Post::with(‘category’)->whereCategoryId($post->category_id)->paginate(5)
2020-04-13 20:46:15
thank you, got it bro!!
Siberfx 2020-04-13 20:49:03
also in your logic its not that good.
Siberfx 2020-04-13 20:49:20
when you get post data in first eloquent, you should have to use firstOrFail() instead of first()
Siberfx 2020-04-13 20:49:31
so if the slug is not found the code will throw 404 error
Siberfx 2020-04-13 20:50:08
and also by model side, you can add another scope to get the related posts to the chosen one
Siberfx 2020-04-13 20:50:28
then you dont need to write 2 different variable to compact into view
Xamie 2020-04-13 20:53:19
Any one help me with a complete laravel project!?
Thank you 🙏
Thank you 🙏
Siberfx 2020-04-13 21:02:50
🙂 looking for someone who do it for you or what? :))
2020-04-13 21:03:51
Siberfx 2020-04-13 20:50:28
then you dont need to write 2 different variable to compact into view
okay, i did it as you say
Siberfx 2020-04-13 21:04:38
share the code how it looks now?
Siberfx 2020-04-13 21:05:51
firstOrFail is not for that one :))
Siberfx 2020-04-13 21:05:55
for $post