Hi im trying to move my website to a new server and im getting trouble with courses.when they click on "Next Module" they get a blank page with an error message saying "INCORRECT COURSE VALUE. CONTACT ADMIN".
Everything is updated with latest version and i have tried
solution (i have added the below in to function.php) but didn't work.
add_action('wplms_after_start_course',function(){
if(!empty($_POST['course_id'])){
echo '
https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js
jQuery.cookie("course", '.$_POST['course_id'].', { expires: 1 });
';
}
});
Can you please advise