Title: Error complete lessons
Last modified: September 22, 2023

---

# Error complete lessons

 *  [mustafasolak45](https://wordpress.org/support/users/mustafasolak45/)
 * (@mustafasolak45)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-complete-lessons-2/)
 * Hi,
 * You may get an error when you click the Complete button in the course. I solved
   this issue by disabling nonce check.
 * Navigate to wp-content\plugins\learnpress\inc folder and open “class-lp-ajax.
   php” file.
 * Find this lines and comment them :
 * if ( ! wp_verify_nonce( $nonce, ‘lesson-complete’ ) ) {
 *                     throw new Exception( __( ‘Error! Invalid lesson or failed
   security check.’, ‘learnpress’ ) );
 *                 }
 * That’s okay 🙂

Viewing 1 replies (of 1 total)

 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-complete-lessons-2/#post-17075660)
 * Thank you, our developer will check and get back to you.

Viewing 1 replies (of 1 total)

The topic ‘Error complete lessons’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-complete-lessons-2/#post-17075660)
 * Status: not resolved