python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Attempt to assign property of non-object when updating the existing the record
I want to update some records from my table and if user has uploaded a picture, I need to upload it and update the seller_certificate_card as well.
Here is my code:
public function doStepTwo(Request $...
japose7523
Votes: 0
Answers: 1
How to resolve segmentation fault(core dumped) in laravel-5.8?
In my system i have two projects both are working fine but suddenly when i start my second project based on that url i hit the api in postman then it's showing like this
Laravel development server sta...
usersuser
Votes: 0
Answers: 0
How to add two unique validation for one input
I'm trying to validate an input like this:
$validatedPhone = $request->validate([
'user_input' => 'required|unique:users,user_name|regex:/^09\d{9}$/|max:11|min:11',
]
Now I need to say ...
Pouya
Votes: 0
Answers: 1
My authorize function is always failing in laravel-5.8?
I created one policy inside create function i am checking weather this user can able to create records and i am registering the Model and policy in the AthServiceProvider.php after that i am checking ...
usersuser
Votes: 0
Answers: 1