Title: using hard coded wp_options table name
Last modified: August 21, 2016

---

# using hard coded wp_options table name

 *  Resolved [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years ago](https://wordpress.org/support/topic/using-hard-coded-wp_options-table-name/)
 * I just noticed I’m seeing a lot of PHP errors for MySQL and it appears to be 
   because this plugin is using a hardcoded table prefix for selecting data.
 * I have a custom prefix that is NOT wp_ for my tables.
 * Hoping you can fix this in the next version to use the dynamic value of whatever
   the prefix is defined in wp-config.php
 * [http://wordpress.org/extend/plugins/jetpack-post-views/](http://wordpress.org/extend/plugins/jetpack-post-views/)

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

 *  Plugin Author [Steven Lambert](https://wordpress.org/support/users/straker503/)
 * (@straker503)
 * [13 years ago](https://wordpress.org/support/topic/using-hard-coded-wp_options-table-name/#post-3769257)
 * Thanks for bringing this to my attention, I hadn’t thought of this problem before.
   I’ll get it working for the next patch.
 *  Plugin Author [Steven Lambert](https://wordpress.org/support/users/straker503/)
 * (@straker503)
 * [13 years ago](https://wordpress.org/support/topic/using-hard-coded-wp_options-table-name/#post-3769333)
 * Let me know if this is fixed in the new version
 *  Thread Starter [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [13 years ago](https://wordpress.org/support/topic/using-hard-coded-wp_options-table-name/#post-3769357)
 * Looks like that fixed it, thanks for the quick turn around!
 * (I had manually fixed it by hard coding it in the plugin, but great to have it
   actually fixed now 🙂

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

The topic ‘using hard coded wp_options table name’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jetpack-post-views_b1c8ce.svg)
 * [Jetpack Post Views](https://wordpress.org/plugins/jetpack-post-views/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack-post-views/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack-post-views/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack-post-views/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack-post-views/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack-post-views/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/using-hard-coded-wp_options-table-name/#post-3769357)
 * Status: resolved