Title: Database error and 402 error
Last modified: November 17, 2021

---

# Database error and 402 error

 *  [brookthebook](https://wordpress.org/support/users/brookthebook/)
 * (@brookthebook)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/database-error-and-402-error/)
 * Hello,
 * I installed learnpress on my website. But I got the error 402 when enrolling 
   to a course. I tried to upgrade the database in the settings but it gives me 
   the error “Step clone_tables: Table ‘na9xv_WP723721.wp_723721_learnpress_user_items_bk’
   doesn’t exist”. I then tried to delete the tables of learnpress in the database
   and reinstall the plugin. It still doesn’t work and now it only creates 2 tables“
   wp_723721_learnpress_upgrade_db” and “wp_723721_learnpress_user_item_results”.
   
   How can I fix this ?
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Support [brianvu-tp](https://wordpress.org/support/users/briantp/)
 * (@briantp)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/database-error-and-402-error/#post-15079452)
 * Hi,
 * We have a guide [here](https://docspress.thimpress.com/upgrade-database-how-to-fix-some-issue/)
   
   Hope it will helpful.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Database error and 402 error’ 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: [4 years, 6 months ago](https://wordpress.org/support/topic/database-error-and-402-error/#post-15079452)
 * Status: not resolved