its not empty button translation for that continue or start course there might be blank , please check if translation for "continue course" , start course , expired course , completed , under evaluation is present and not blank for ukranian or russian language.
We are using this query to fetch the courses here :
$courses_with_types = apply_filters('wplms_usermeta_direct_query',$wpdb->prepare(" SELECT posts.ID as id FROM {$wpdb->posts} AS posts LEFT JOIN {$wpdb->usermeta} AS meta ON posts.ID = meta.meta_key WHERE posts.post_type = %s AND posts.post_status = %s AND meta.user_id = %d AND meta.meta_value > %d ",'course','publish',$this->user->id,time()));
and it seems wpml is interfering in it .
can you ask them how an we disable their filter on $wpdb->get_results
Hello, we've reached out with this question to WPML support https://wpml.org/forums/topic/an-empty-button-in-the-profile-2/, as you suggested, but they claim they don't have a filter for $wpdb->get_results. So how can we understand where this comes from? Please help.
Hello, a few days ago you informed us that this issue needs more inspection as it is related to a third party plugin. Have there been any advancements? Is the cause of the error known yet?
unfortunately, we are still working on it and it is not a straight forward issue with a fix. This involves studying third party plugin code so it will take some more time.
Hello!
An empty button appeared in "My courses" in the profile.
https://prnt.sc/sRZBtnQ42-id
https://prnt.sc/fXm_agKlXfPY
https://prnt.sc/msPTB1pnG2qY
its not empty button translation for that continue or start course there might be blank , please check if translation for "continue course" , start course , expired course , completed , under evaluation is present and not blank for ukranian or russian language.
but we have them all translated in loco translate https://prnt.sc/JYzf6N1cvlKq , https://prnt.sc/aPJIACo9bjHm , https://prnt.sc/MltRkvWSb3hJ , https://prnt.sc/VE0UlS1McrZf .
can you please share the credentials of the user who is facing this issue?
HI I checked the issue is not with translation but the courses , the user is not actually enrolled in any of them .
That is a mystery how they are being fetched into user's my courses .
Ok, but how can we solve this mystery?
the mystery seems to be coming from wpml somehow .
we need to debug this provide us some time.
It's been a week, any updates?
We are using this query to fetch the courses here :
$courses_with_types = apply_filters('wplms_usermeta_direct_query',$wpdb->prepare("
SELECT posts.ID as id
FROM {$wpdb->posts} AS posts
LEFT JOIN {$wpdb->usermeta} AS meta ON posts.ID = meta.meta_key
WHERE posts.post_type = %s
AND posts.post_status = %s
AND meta.user_id = %d
AND meta.meta_value > %d
",'course','publish',$this->user->id,time()));
and it seems wpml is interfering in it .
can you ask them how an we disable their filter on $wpdb->get_results
But it is translated https://prnt.sc/ahv6EEO2rA_e https://prnt.sc/qByDpoiNfr2_ https://prnt.sc/t2P7qPPM5CbI
and also I do not have it here https://prnt.sc/r1xQYoHeuorj
But the problem is not the same for all users. For some everything works fine https://prnt.sc/Msfoz43G4b1g https://prnt.sc/90TndhmYBoC8 https://prnt.sc/hJ_4d-e_KfED https://prnt.sc/sgeYoFWlNT7h
Sorry, our previous message is related to a different ticket, namely: https://wplms.ticksy.com/ticket/3562699
Hello, we've reached out with this question to WPML support https://wpml.org/forums/topic/an-empty-button-in-the-profile-2/, as you suggested, but they claim they don't have a filter for $wpdb->get_results. So how can we understand where this comes from? Please help.
Hello, a few days ago you informed us that this issue needs more inspection as it is related to a third party plugin. Have there been any advancements? Is the cause of the error known yet?
unfortunately, we are still working on it and it is not a straight forward issue with a fix. This involves studying third party plugin code so it will take some more time.