How do I validate a nested array attribute based on another attribute in Laravel?

|
Aved29 2022-03-27 19:06:09
Can any one will me where do I start?
Faraz5566 2022-03-27 19:08:51
Aved29 2022-03-27 19:06:09
Can any one will me where do I start?

if you can spend some money i recommend laracast .. if not youtube has great vids.

Bright 2022-03-27 20:55:36
Copy the error an paste it on your browser or on YouTube, believe me, your answer will come quickly
RAJESHMAREBOINA 2022-03-27 20:57:42
laravel_discuss-113055.jpg

2022-03-27 21:20:04
Is anyone here familiar with Docker?

I’ve been trying to make an image file from my docker-compose.yml file; during the installation, it always get stucked at

(1/19) Installing libstdc++ (10.3.1_git20211027-r0)

or at the second stage which is:

(2/19) Installing binutils (2.37-r3)

I’ve tried to install it thoughts of times; sometimes it passed some more stages, but 99% of the times, it just get stucked in there

Manalalsubaei 2022-03-27 22:47:51
laravel_discuss-113061.jpg

Manalalsubaei 2022-03-27 22:48:10
There are Any error here?
Manalalsubaei 2022-03-27 22:48:43
laravel_discuss-113064.jpg

saif7823 2022-03-27 22:57:22
Manalalsubaei 2022-03-27 22:48:43

Import user models or you can do put user model in within App/Models directory.

Manalalsubaei 2022-03-27 22:58:15
saif7823 2022-03-27 22:57:22
Import user models or you can do put user model in within App/Models directory.

Import user models
How
?

saif7823 2022-03-27 22:59:11
Manalalsubaei 2022-03-27 22:58:15
Import user models
How
?

On the top line put
use App/User

Manalalsubaei 2022-03-27 22:59:35
Ok.
I will try it now.
saif7823 2022-03-27 23:02:20
Colum missing in employee table
Manalalsubaei 2022-03-27 23:02:36
saif7823 2022-03-27 23:02:20
Colum missing in employee table

No

Manalalsubaei 2022-03-27 23:03:08
saif7823 2022-03-27 23:02:20
Colum missing in employee table

laravel_discuss-113072.jpg

saif7823 2022-03-27 23:03:28
Manalalsubaei 2022-03-27 23:02:36
No

According to screenshot col missing.

saif7823 2022-03-27 23:04:40
Manalalsubaei 2022-03-27 23:03:08

Look carefully col name is different

Manalalsubaei 2022-03-27 23:05:49
yes
Manalalsubaei 2022-03-27 23:06:01
thanks a lot.
Manalalsubaei 2022-03-27 23:21:38
this col name come from where?!
Gidi 2022-03-27 23:34:12
check the migration file and add that culomn then run migration again please
Gidi 2022-03-27 23:35:46
are there relationships??
Manalalsubaei 2022-03-27 23:40:41
I created the database form migration
Manalalsubaei 2022-03-27 23:40:59
the field must the same
j3nnydsouza 2022-03-28 06:22:06
Laravel Developer

Exp – 2 to 7 years

Fulltime (LOOKING FOR IMMEDIATE JOINER)

Desired Candidate Profile:

Should have good experience in Core PHP, Laravel, Mysq,Git.

Strong object-oriented programming skills.

Experience in writing effective RESTful APIs.

Knowledge of multiple front-end languages and libraries (e.g. HTML/ CSS, JavaScript, jQuery, etc).

This person should have strong analytical skills and should have good communication and interpersonal skills.

Take full responsibility for task/project execution.

Ability to prioritize own work and respect deadlines.

Job Location

For now remote (full-time) position.

CONTACT 8838318915

Cybervant 2022-03-28 06:30:12
I need help here: https://stackoverflow.com/questions/71639844/how-do-i-validate-a-nested-array-attribute-based-on-another-attribute-in-laravel

How do I validate a nested array attribute based on another attribute in Laravel?Stack Overflow
I am uploading data from excel then validating it. I want to validate the date of employment based on the date of birth in the same row. I am having to get the date of birth from the entire imported
Rao Aadil 2022-03-28 08:56:11
laravel_discuss-113094.jpg
I want to run a for each loop to get values on array $mt and create a new array of objects. I am getting error Please help
Rao Aadil 2022-03-28 08:57:09
message: “Trying to get property ‘id’ of non-object”

this is the error I am getting

Rao Aadil 2022-03-28 08:59:43
[
{
“uuid”: “MLA8sWSfScWyeA3heqG4ZA==”,
“id”: 76440063897,
“host_id”: “JSj-REsQQC2wwFoEOvy_5Q”,
“topic”: “TEMP/UCMS/USN/R/0161/2022”,
“type”: 2,
“start_time”: “2022-03-28T05:27:01Z”,
“duration”: 60,
“timezone”: “Asia/Kolkata”,
“created_at”: “2022-03-28T05:27:01Z”,
“join_url”: “”
},
{
“uuid”: “6EzxZCYJQyml5OVzTIvDkg==”,
“id”: 78858358252,
“host_id”: “JSj-REsQQC2wwFoEOvy_5Q”,
“topic”: “TEMP/UCMS/USN/R/0162/2022”,
“type”: 2,
“start_time”: “2022-03-28T05:28:12Z”,
“duration”: 60,
“timezone”: “Asia/Kolkata”,
“created_at”: “2022-03-28T05:28:12Z”,
“join_url”: “”
}
]

This is the value of $mt

Rao Aadil 2022-03-28 09:14:01
anyone?
Stan 2022-03-28 09:18:49
Rao Aadil 2022-03-28 09:14:01
anyone?

The error is clear $x is not an object

Rao Aadil 2022-03-28 09:19:20
$x is an array
Stan 2022-03-28 09:19:45
So why are you using ->
Rao Aadil 2022-03-28 09:20:06
please guide I am not that expert 🙁
Stan 2022-03-28 09:20:44
dd($x)
|