Title: Update errors
Last modified: February 6, 2025

---

# Update errors

 *  Resolved [satisfactionstate](https://wordpress.org/support/users/satisfactionstate/)
 * (@satisfactionstate)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/update-errors-13/)
 * Hello. I noticed some serious bugs after the update. On the page with categories
   of courses, courses in this category are not displayed. If you go through the
   lessons (click complete), it does not redirect to a new lesson and does not count
   that lesson as completed – I stay on the page of this lesson. SyntaxError: Unexpected
   token ‘<‘, “<!DOCTYPE “… is not valid JSON – at the console. I’ve created a test
   category with a test course. but it does not appeared at the page of a category
   [https://aumit.us/course-cat/testcat/](https://aumit.us/course-cat/testcat/) 
   here is a test course [https://aumit.us/course/test/](https://aumit.us/course/test/)
   I can’t complete a lesson. Could you please check it? I’ve done a backup of my
   site before updating plugin.
    -  This topic was modified 1 year, 4 months ago by [satisfactionstate](https://wordpress.org/support/users/satisfactionstate/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18290658)
 * Hi satisfactionstate,
 * Thank you for reaching out and providing such detailed information about the 
   issues you’re experiencing after the update. We appreciate you taking the time
   to report these bugs.
 * While we don’t have direct access to your LearnPress setup to test the lesson
   completion issue, we were able to access the category link you provided [https://aumit.us/course-cat/testcat/](https://aumit.us/course-cat/testcat/)
   and [confirm the error you described](https://go.screenpal.com/watch/cTninUnh1cY).
 * The “SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON” error,
   along with the course display issues, strongly suggests a conflict with another
   plugin (possibly a security or caching plugin) or your theme.
 * Could you please try the following troubleshooting steps:
    1. **Deactivate all plugins except LearnPress:** Temporarily deactivate all other
       plugins on your site, leaving only LearnPress active. Then, switch to a default
       WordPress theme like Twenty Twenty-Five. Check if the issue persists. This will
       help us determine if a plugin conflict is the cause.
    2. **Check for Theme Conflicts:** If the issue is resolved after deactivating the
       plugins, reactivate them one by one, testing the course category page and lesson
       completion after each activation, to identify the conflicting plugin. If the
       issue persists with only LearnPress active, the problem might be with your theme.
       Try switching to a default WordPress theme (like Twenty Twenty-Five) to see 
       if that resolves the problem.
 * If the problem continues after trying these steps, please let us know.
 * Best regards,
   Brianvu-tp
 *  Thread Starter [satisfactionstate](https://wordpress.org/support/users/satisfactionstate/)
 * (@satisfactionstate)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18290986)
 * Thank you. I found the mistake. In the case of displaying categories, the issue
   was solved when I deactivated the Solid Security Basic plugin. And the button
   issue was solved when I switched to the Twenty-Twenty five theme. And I realized
   that the problem was in my theme, because I had slightly customized the single-
   course and complete button. This issue was solved when I copied the new files
   from your updated plugin. The issue with displaying courses in a category is 
   solved by disabling the Solid Security Basic plugin, but it is actually a great
   plugin and I would like to continue to use it. And if I leave this plugin running
   and click on the complete lesson button, I get a 403 ajax error.
 *  Thread Starter [satisfactionstate](https://wordpress.org/support/users/satisfactionstate/)
 * (@satisfactionstate)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18291356)
 * Thank you for your help and answers. And of course thank you for my favorite 
   Learnpress plugin. Best of luck with your further developments.
 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18295109)
 * Hi satisfactionstate,
 * We’re glad you were able to pinpoint the source of the issues and get things 
   working again.
 * It’s great that you were able to resolve the theme conflict by updating the necessary
   files. We appreciate you sharing your findings – it’s helpful for other users
   who might encounter similar problems.
 * And thank you for your kind words about LearnPress!
 * Best regards,
   Brianvu-tp
 *  [jmiranda59](https://wordpress.org/support/users/jmiranda59/)
 * (@jmiranda59)
 * [11 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18542412)
 * Buenas, Saludos, Gracias por los comentarios, tengo el mismo problema cuando 
   estoy editando los cursos o cambiando información. Al probar la propuesta de 
   desactivar todos los plugins y activar de uno en uno note también que el problema
   es el tema en este caso el Kadance la versión gratuita. Como ya esta en producción
   no me atreví a desinstalar, así que desactive, hice los arreglos pertinentes 
   al curso y lo volví a activar, pero note que si puedo manipular los cursos desde
   el menú LearnPress Lecciones, cuestionarios etc.
 * JM
 * Gracias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Update errors’ is closed to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [jmiranda59](https://wordpress.org/support/users/jmiranda59/)
 * Last activity: [11 months ago](https://wordpress.org/support/topic/update-errors-13/#post-18542412)
 * Status: resolved