Title: js error
Last modified: May 27, 2024

---

# js error

 *  Resolved [sanchenko57](https://wordpress.org/support/users/sanchenko57/)
 * (@sanchenko57)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/)
 * In the widgets.min.js script you are accessing the select2 plugin which is not
   available
   wp-admin/widgets.php[https://prnt.sc/Bx1L9iCfrKp7](https://prnt.sc/Bx1L9iCfrKp7)
   [https://prnt.sc/XCj6hsK8WpU1](https://prnt.sc/XCj6hsK8WpU1)

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

 *  Plugin Author [ThimPress](https://wordpress.org/support/users/thimpress/)
 * (@thimpress)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17784800)
 * Hi sanchenko57,
   Can you provide us screen where has error? Because we check it
   on page wp-admin/widgets.php don’t have any error like you. What is the LearnPress
   version is using?Thanks.
 *  Thread Starter [sanchenko57](https://wordpress.org/support/users/sanchenko57/)
 * (@sanchenko57)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17785124)
 * I added the condition in the first screenshot by myself to your latest version
   plugin. The error itself appears when a third-party paid plugin widget is added,
   could you just add a check to your code that I added myself in the first screenshot?
 *  Plugin Author [ThimPress](https://wordpress.org/support/users/thimpress/)
 * (@thimpress)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17785276)
 * > Hi sanchenko57,
   > The error itself appears when a third-party paid plugin widget
   > is added
 * What is the third-party plugin you are referring to?
   Thanks.
 *  Thread Starter [sanchenko57](https://wordpress.org/support/users/sanchenko57/)
 * (@sanchenko57)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17785327)
 * I contacted support for the trx addons plugin, they advised me to contact learnpress
   support and said that the problem was in the widgets.min.js script in select2
   initialization, which was not available. You should add a check **if ( o.select2)**
 *  Plugin Author [ThimPress](https://wordpress.org/support/users/thimpress/)
 * (@thimpress)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17797535)
 * Hi sanchenko57
   We release LP v4.2.6.8.1. Please install and feeback to us.Thanks.
 *  Thread Starter [sanchenko57](https://wordpress.org/support/users/sanchenko57/)
 * (@sanchenko57)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17798123)
 * Good afternoon, everything works well, thanks for the quick response. I mark 
   the ticket as resolved
 *  Plugin Author [ThimPress](https://wordpress.org/support/users/thimpress/)
 * (@thimpress)
 * [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17798215)
 * Hi sanchenko57
   It is good news. We really hope you can review 5 stars. A nice
   rating for LearnPress is a big motivation for us to keep up the hard work and
   It’s really important to us. So, thank you very much for your feedback.Thank 
   you.Best Regard!

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

The topic ‘js 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [ThimPress](https://wordpress.org/support/users/thimpress/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/js-error-161/#post-17798215)
 * Status: resolved