Hello,
I have an user that bought a WooCommerce product that include some courses but in his profile is not subscribe to any course.
This reply has been marked as private.
Hello,
do you have any update about this big issue? It is very urgent unfortunately. Caso you please help me? Thanks
MkModerator
Well the user is actually added in the courses .please check :
http://prntscr.com/noxy18
Its just somehow the courses are not showing in user's my courses in profile .
Maybe the issue is due to caching or something .
This reply has been marked as private.
I disable all caching but the issue is still present. Can you please correct? Thanks
MkModerator
Ok, I will check it.
Its a multisite I will have to write a custom query to check it. Please give some time.
Thanks.
Sure, I wait your update.Thanks
Well we looked into this and spent hours finding the issue and came to find that its the wordpress query that is not able to fetch the correct results : maybe due to caching for user courses .
The values are present in database but wp_query is not fetching the results for that user particularly somehow .
Please check if the user has logged in for once on website .
This reply has been marked as private.
MkModerator
Well, I will check and update you tomorrow.
Please give me some time.
Can you please update me? It is very urgent! Thanks
MkModerator
I changed some code. and tested it with new user. It worked fine,
Please check one more thing.
Is it working for older users or not?
At least test for two old users.
Thanks in advance .
MkModerator
This reply has been marked as private.
This reply has been marked as private.