Reply To: HRM CSV Upload Not Working

Front Page Forums HRM HRM CSV Upload Not Working Reply To: HRM CSV Upload Not Working

#17612
muhadbk0
Participant

Hello all,

Here the problem with Date Formats, You can add the data by avoiding the date format column as empty ( Hiring Date ,Date Of Birth) .

For more reference to the developers :

InvalidArgumentException Object ( [message:protected] => Data missing [string:Exception:private] => [code:protected] => 0 [file:protected] => HOME_DIR/wp-content/plugins/erp/vendor/nesbot/carbon/src/Carbon/Carbon.php [line:protected] => 836 [trace:Exception:private] => Array ( [0] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php [line] => 709 [function] => createFromFormat [class] => Carbon\Carbon [type] => :: [args] => Array ( [0] => Y-m-d H:i:s [1] => 1-1-1998 ) ) [1] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php [line] => 732 [function] => asDateTime [class] => Illuminate\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => 1-1-1998 ) ) [2] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php [line] => 526 [function] => fromDateTime [class] => Illuminate\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => 1-1-1998 ) ) [3] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Model.php [line] => 234 [function] => setAttribute [class] => Illuminate\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => date_of_birth [1] => 1-1-1998 ) ) [4] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Model.php [line] => 462 [function] => fill [class] => Illuminate\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => Array ( [location] => MUTLAA [hiring_source] => LOCAL MARKET [date_of_birth] => 1-1-1998 [pay_rate] => 445 [pay_type] => CASH [status] => ACTIVE ) ) ) [5] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/modules/hrm/includes/class-employee.php [line] => 424 [function] => update [class] => Illuminate\Database\Eloquent\Model [type] => -> [args] => Array ( [0] => Array ( [location] => MUTLAA [hiring_source] => LOCAL MARKET [date_of_birth] => 1-1-1998 [pay_rate] => 445 [pay_type] => CASH [status] => ACTIVE ) ) ) [6] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/modules/hrm/includes/class-employee.php [line] => 355 [function] => update_employee [class] => WeDevs\ERP\HRM\Employee [type] => -> [args] => Array ( [0] => Array ( [designation] => [department] => 5 [location] => MUTLAA [hiring_source] => LOCAL MARKET [date_of_birth] => 1-1-1998 [reporting_to] => CHIEF ENGR [pay_rate] => 445 [pay_type] => CASH [type] => permanent [status] => ACTIVE [first_name] => PARMINDER [last_name] => SINGH [phone] => 122345 [work_phone] => 122345 [mobile] => 65657 [address] => AL QATAMI STRT [gender] => MALE [marital_status] => SINGLE [nationality] => INDIAN [driving_license] => DL122345 [hobbies] => READING [user_url] => JOBININTERNATIONAL.ONLINE [description] => SITE [street_1] => AL QATAMI STRT [street_2] => DALMIA [city] => KUWAIT CITY [country] => KUWAIT [state] => KUWAIT STATE [postal_code] => 3434545 ) ) ) [7] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/modules/hrm/includes/functions-employee.php [line] => 35 [function] => create_employee [class] => WeDevs\ERP\HRM\Employee [type] => -> [args] => Array ( [0] => Array ( [personal] => Array ( [first_name] => PARMINDER [last_name] => SINGH [phone] => 122345 [work_phone] => 122345 [mobile] => 65657 [address] => AL QATAMI STRT [gender] => MALE [marital_status] => SINGLE [nationality] => INDIAN [driving_license] => DL122345 [hobbies] => READING [user_url] => JOBININTERNATIONAL.ONLINE [description] => SITE [street_1] => AL QATAMI STRT [street_2] => DALMIA [city] => KUWAIT CITY [country] => KUWAIT [state] => KUWAIT STATE [postal_code] => 3434545 ) [user_email] => [email protected] [work] => Array ( [designation] => [department] => 5 [location] => MUTLAA [hiring_source] => LOCAL MARKET [date_of_birth] => 1-1-1998 [reporting_to] => CHIEF ENGR [pay_rate] => 445 [pay_type] => CASH [type] => permanent [status] => ACTIVE ) ) ) ) [8] => Array ( [file] => HOME_DIR/wp-content/plugins/erp/includes/functions.php [line] => 1717 [function] => erp_hr_employee_create [args] => Array ( [0] => Array ( [personal] => Array ( [first_name] => PARMINDER [last_name] => SINGH [phone] => 122345 [work_phone] => 122345 [mobile] => 65657 [address] => AL QATAMI STRT [gender] => MALE [marital_status] => SINGLE [nationality] => INDIAN [driving_license] => DL122345 [hobbies] => READING [user_url] => JOBININTERNATIONAL.ONLINE [description] => SITE [street_1] => AL QATAMI STRT [street_2] => DALMIA [city] => KUWAIT CITY [country] => KUWAIT [state] => KUWAIT STATE [postal_code] => 3434545 ) [user_email] => [email protected] [work] => Array ( [designation] => [department] => 5 [location] => MUTLAA [hiring_source] => LOCAL MARKET [date_of_birth] => 1-1-1998 [reporting_to] => CHIEF ENGR [pay_rate] => 445 [pay_type] => CASH [type] => permanent [status] => ACTIVE ) ) ) ) [9] => Array ( [file] => HOME_DIR/wp-includes/class-wp-hook.php [line] => 286 [function] => erp_process_import_export [args] => Array ( [0] => ) ) [10] => Array ( [file] => HOME_DIR/wp-includes/class-wp-hook.php [line] => 310 [function] => apply_filters [class] => WP_Hook [type] => -> [args] => Array ( [0] => [1] => Array ( [0] => ) ) ) [11] => Array ( [file] => HOME_DIR/wp-includes/plugin.php [line] => 453 [function] => do_action [class] => WP_Hook [type] => -> [args] => Array ( [0] => Array ( [0] => ) ) ) [12] => Array ( [file] => HOME_DIR/wp-admin/admin.php [line] => 156 [function] => do_action [args] => Array ( [0] => admin_init ) ) ) [previous:Exception:private] => )

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your message

We will reach you with your email address soon. Thank you for the time!