Comments (6)
Hi @reza-jalaei, thanks for reaching out to us.
In our latest version, we've already commented out those two lines. Please ensure you're using the latest version on your end.
from moowoodle.
Hello @moumitahalder,
The issue is that they're commented out! Yes I'm using the latest version of MooWoodle, MooWoodle Pro, and Auth MooWoodle (installed on Moodle).
Syncing users from Moodle to WordPress was resulting in "Unable to fetch users." in the logs until I uncommented those lines.
from moowoodle.
Thanks for explaining this. Yes, currently you need to uncomment those line.
However we will add a filter in our next update to fix this.
from moowoodle.
Thanks @moumitahalder
I have another question, I'm running the Moodle to Wordpress sync right now and it seems to be stuck on 'Current end_user_id: 7' (I added some logging to check the user id in the loop over the data from Moodle in Cron.php)
We have close to 8000 users and it's been on 7 for the past 2 hours, any ideas what could be causing this?
Do you have any recommendations on how to handle this first batch since it's so large? Could I maybe dump the user data from Moodle and import them to WordPress MySQL directly?
Thanks!
from moowoodle.
@reza-jalaei, in that case please use some plugin like Crontrol and pause this cron for now.
Then re-run this cron again. Let us know if this works.
from moowoodle.
For some reason a second try also got stuck at 7 so I decided to use the API MooWoodle Auth exposes from the Moodle side to fetch all the users and convert the JSON to a MySQL query and bulk import the 9000 users.
It's still running, after that I will enable real-time sync as that seems to be working well.
from moowoodle.
Related Issues (20)
- Moowoodle error
- Course re-add Issue
- Password missing
- New Moodle
- Follow Setup Guide spelling mistake https://prnt.sc/Gvikt_VyaloJ. Add this line "Refer to the setup guide to complete all necessary configurations on the Moodle site, and subsequently, perform a Test Connection to verify the functionality of all services."
- `application_fee_amount` support, Stripe `acct_` backend option, per-course $ per-educator HOT 1
- Variable product turn into simple product
- Category assign issue
- User creation failed while course order is complete
- User Enrollment not working properly for manually created products HOT 2
- View Course is not working for Default Permalink HOT 1
- Not showing enrollment number under courses
- website documentation is a pure garbage HOT 4
- Product Assign Issue
- moowoodle error:Invalid token - token not found HOT 2
- Category is not synching with the product HOT 2
- Sync SKU at the time of course sync
- Final Test HOT 1
- Username conflict HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moowoodle.