@ionut442,
It looks like you have two issues here:
- You are having issues creating a membership.
- Your students are not enrolled and redirected to the course page of the course they tried to enroll at.
Let me see how we can help you here.
You are having issues creating a membership.
You mentioned that “it’s not working the way I want”, could you please clarify what you meant by this? We need to clarify what you mean so we can better assist you.
Your students are not enrolled and redirected to the course page of the course they tried to enroll at.
You mentioned that the course is not added to dashboard after enrollment. In particular, you mentioned that the students had to re-enroll. This suggests that this is not a redirect issue, as that redirect should work after successful enrollment. In particular, the issue here is that the students are not being enrolled on the course on the first try.
In this case, we recommend you follow the troubleshooting steps below.
We need to do some troubleshooting to find out what is going on. In particular, we need to:
- Rule out potential caching problems.
- Rule out potential theme conflicts.
- Rule out potential plugin conflicts.
Rule out potential caching issues
To fix caching issues, please visit your website in?incognito mode?after each of the following steps.
- Please deactivate all caching plugins you are using.
- Check if your website served by a content delivery network?(CDN). If your website is hosted by a CDN, please purge that CDN cache.
- Check if your web host is using server-side caching. If the server-side cache is not from any of your plugins, please contact your web hosts support team so they can purge this cache for you.
If any of these cache purging steps fixes your problem, then you simply have some caching issues.
Rule out potential theme conflicts
Please temporarily switch from your current theme to any other default theme on your WordPress site. Then, check your website again. If the problem disappears, then there might be some conflicts with the theme.
If there are theme conflicts, please update your current theme if an update is available. If no update is available or the update did not fix the issue, please reach out to the support team of the conflicting theme. Please also let us know about the conflict that you find.
Rule out potential plugin conflicts
If the issue persists after you switched to a default theme, please deactivate all plugins on your website except the LifterLMS core plugin. Check to see if the issue disappears. If the issue disappears, then there is a plugin conflict somewhere.
If there is a plugin conflict, reactivate each plugin?one at a time?until the problem re-appears. If you find the conflicting plugin, please update the conflicting plugin. If there is no update available or if the update does not fix the issue, please reach out to the plugin’s support team about this conflict. Please also let us know which plugin is the source of conflict.
Further Troubleshooting
If any of the above steps do not resolve the enrollment problem, you may need to take some further look into it. To help you with diagnosing the problem, you will need to turn on debug mode and debug logging.
Let’s turn on debug logging for your website by setting the?WP_DEBUG
,?WP_DEBUG_LOG
?and?LLMS_PROCESSORS_DEBUG
?to?true
?in your??wp-config.php
?file. You can follow this help document at?www.ads-software.com/documentation/article/debugging-in-wordpress?to learn how to do that. This would allow you to see if there are any PHP errors or notices that happen at the same time these enrollments are not failing. You can view these debug logs at?WordPress Dashboard >?LifterLMS > Status > Logs
. or are /wp-content/debug.log
.
You can also just?contact your web host, so they can do this for you. If you decide to edit the?wp-config.php
, you will need to access your site via FTP using a program like?FileZilla, to do this. If you do not have FTP access, you can contact your web host. In general, to access your site via FTP you will need your FTP host, username, password, and port number. Also, please keep a backup of your original?wp-config.php
?file before editing it. This way,?if you accidentally crash your website?by editing the?wp-config.php
?you can always restore the original file.