June 3, 2019 at 12:49 pm #42083Webworx Web ServicesParticipant
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
#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
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.
June 3, 2019 at 1:20 pm #42087Mehedi HasanModerator
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.
June 14, 2019 at 8:24 pm #42574Webworx Web ServicesParticipant
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.