I still have this problem. I tried deactivating every other plugin, shut all firewalls down, switched to a standard theme. It does synch courses, create product but not create users in Moodle.
What a shame this plugin is dead and the author deserted it.
It might just be a problem with the current Moddle + Woo versions
Found the solution. Just a modification at the source code:
FILE: wp-content/plugins/moowoodle/classes/class-dc-woodle-enrollment.php
LINE: 186
ORIGINAL LINE: $user_data[‘lang’] = substr($b,0,2);
NEW LINE: $user_data[‘lang’] = ‘pt_br’; //OR ANY LANGUAGE YOU WANT. SAME LANGUAGE AS YOUR WP CONFIG.
Be sure to verify this modification when a new MooWoodle update became available 🙂
PS.: It may be possible to change the code to get 5 strings, so the copy of language should be the same. Something like substr($b,0,5); I didn’t tested it.
@nahsebben
1) Bless you for taking the time to share and post
2) How do I find my language? Is it “en” for English?
PS: I hope I get it to work.
That said, it appears the plugin is dead. Hope there’s an alternative besides edwiser
It’s still not working… I put en_US.
$user_data[‘lang’] = ‘en_US’;
AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant \xe2\x80\x98en_US\xe2\x80\x99 – assumed ‘\xe2\x80\x98en_US\xe2\x80\x99′ (this will throw an Error in a future version of PHP) in ………../plugins/moowoodle/classes/class-dc-woodle-enrollment.php on line 186’, referer:
The “exceeded 10” error message is gone, though.
But it’s still neither creating users in Moodle nor sending “couldn’t create user” messages
If anyone knows an alternative that’s not edwiser – let me know please