Title: Database errors in log
Last modified: March 8, 2022

---

# Database errors in log

 *  Resolved [pesseba](https://wordpress.org/support/users/pesseba/)
 * (@pesseba)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-in-log/)
 * Hi, I update the MasterStydy plugin to 2.8.1 version and I started to get some
   database errors as follow:
 * `Erro de banco de dados do WordPress You have an error in your SQL syntax; check
   the manual that corresponds to your MariaDB server version for the right syntax
   to use near 'WHERE user_id = 2 ORDER BY id DESC LIMIT 1' at line 1 para a consulta
   SELECT status FROM WHERE user_id = 2 ORDER BY id DESC LIMIT 1 feita por require('
   wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/
   plugins/masterstudy-lms-learning-management-system/stm-lms-templates/stm-lms-
   lesson.php'), STM_LMS_User::has_course_access, STM_LMS_Subscriptions::get_membership_status`
 * apparently there is no effect at all, but I don’t know if it could be a problem
   in future.

Viewing 1 replies (of 1 total)

 *  Plugin Support [mgordon7](https://wordpress.org/support/users/mgordon7/)
 * (@mgordon7)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-in-log/#post-15440290)
 * Hi dear,
 * Thank you for the clarification of the question, we do appreciate it!
 * The latest version of the LMS plugin doesn’t include such kind of error. With
   the proper WordPress and server limits, there won’t be such kind of unexpected
   restrictions. So, kindly make sure that your server limits are according to the
   LMS plugin required server limits, here in the —[link](https://docs.stylemixthemes.com/masterstudy-lms/getting-started-1/system-requirements)—,
   you will be able to check the required limits. You can change your server limits
   by contacting your hosting provider team directly
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘Database errors in log’ is closed to new replies.

 * ![](https://ps.w.org/masterstudy-lms-learning-management-system/assets/icon-256x256.
   gif?rev=2846471)
 * [MasterStudy LMS WordPress Plugin – for Online Courses and Education](https://wordpress.org/plugins/masterstudy-lms-learning-management-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/masterstudy-lms-learning-management-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/masterstudy-lms-learning-management-system/)
 * [Active Topics](https://wordpress.org/support/plugin/masterstudy-lms-learning-management-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/masterstudy-lms-learning-management-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/masterstudy-lms-learning-management-system/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * 1 reply
 * 2 participants
 * Last reply from: [mgordon7](https://wordpress.org/support/users/mgordon7/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/database-errors-in-log/#post-15440290)
 * Status: resolved