Title: Pro version uses mysql_query function
Last modified: December 30, 2017

---

# Pro version uses mysql_query function

 *  [zigpress](https://wordpress.org/support/users/zigpress/)
 * (@zigpress)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/pro-version-uses-mysql_query-function/)
 * I inherited a site using the PRO version of this plugin, and found it would work
   on one server but not on another. Further investigation revealed that the plugin
   uses the PHP mysql_query function instead of using methods of the WPDB class,
   specifically in the lsp_database.php plugin file.
 * WordPress plugins should always use the WPDB class for all database access and
   to use an obsolete PHP function in this way, when the mysql extension is no longer
   installed on all servers, is inexcusable.

The topic ‘Pro version uses mysql_query function’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/logo-slider_b4e4d1.svg)
 * [Logo Slider](https://wordpress.org/plugins/logo-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/logo-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/logo-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/logo-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/logo-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/logo-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [zigpress](https://wordpress.org/support/users/zigpress/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/pro-version-uses-mysql_query-function/)
 * Status: not resolved