Users are not created and enrolled in Moodle if language is not english
-
Every time I change the language of WordPress and Moodle to Brazilian Portuguese (pt_br) users are not created and enrolled in the Moodle course after purchasing the course via Woocommerce.
I found a temporary solution by changing the plugin file “class-moowoodle-enrollment.php” line 146 from
$user_data['lang'] = substr($b,0,2);
to$user_data['lang'] = $b;
But I think this is not ideal because when the plugin updates my change will be overwritten.
By the way, great plugin, thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Users are not created and enrolled in Moodle if language is not english’ is closed to new replies.