Import issue with date

Home Forums HRM Import issue with date

This topic contains 2 replies, has 2 voices, and was last updated by  Webworx Web Services 1 week, 2 days ago.

  • Author
    Posts
  • #42083

    hi there, where i map the birthday field and do an import i get the following error. i have set the date format i want under wordpress > general to dd/mm/yy and the data in the file matches this

    Fatal error: Uncaught InvalidArgumentException: Unexpected data found.
    Unexpected data found.
    Data missing in /wp-content/plugins/erp/vendor/nesbot/carbon/src/Carbon/Carbon.php:909
    Stack trace:
    #0 /wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(709): Carbon\Carbon::createFromFormat(‘Y-m-d H:i:s', ‘4/13/1979')
    #1 /wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(732): Illuminate\Database\Eloquent\Model->asDateTime(‘4/13/1979')
    #2 /wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Concerns/HasAttributes.php(526): Illuminate\Database\Eloquent\Model->fromDateTime(‘4/13/1979')
    #3 /wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Model.php(234): Illuminate\Database\Eloquent\Model->setAttribute(‘date_of_birth', ‘4/13/1979')
    in /wp-content/plugins/erp/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 909

    please help!!

    the other thing is that there are 700 odd records in the file, and it says that all 700 successfully imported when import complete however only shows 516 employees and not all 700.

    please help!

  • #42087

    Mehedi Hasan
    Moderator

    Hello,

    It seems there is a conflicting issue causing the problem. Before going further, please check the conflict first. You can follow the guideline here-> https://thebengalboy.com/best-practice-find-wordpress-theme-plugin-conflicts/

    If the issue persists even after disabling all the plugins and switching the theme, then get in touch with our support center. Our support team will assist you further to get rid of it.

    Thanks

  • #42574

    Furthermore the data that is imported using the Wp ERP import tool does not save correctly…. it shows the data in your Wp frontend plugin however on editing the employee in the frontend or the backend the data is not there…. We are using Woffice theme which comes with WPerp plugin so surely it is compatible?

You must be logged in to reply to this topic.