Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37679

Re: Bulk upload users error: Error Writing to Database

$
0
0
by Justin Filip.  

Hi Abdeel,

Do you have any custom user profile fields that are defined as being required? If so, do any of those fields have an empty default value?

It looks like Moodle is probably trying to save an empty value for a required profile field when creating the user. If that's the case then you would either need to set a default value for required fields or specify values in your CSV import file.


Viewing all articles
Browse latest Browse all 37679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>