Title: plugin gets the db prefix wrong
Last modified: June 2, 2017

---

# plugin gets the db prefix wrong

 *  [holmegm](https://wordpress.org/support/users/holmegm/)
 * (@holmegm)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-gets-the-db-prefix-wrong/)
 * Having a problem with Post Status Notifier Lite.
 * Test: Rule table
    Checks if the database table for storing the notification rules
   exists
 * Result: ERROR
    Reason: The database table could not be found
 * The _Fix It_ button does not work.
 * If I log errors, I see this:
 * [02-Jun-2017 16:56:10 UTC] WordPress database error Table ‘wp_wp.pbb_psn_rules’
   doesn’t exist for query DESCRIBE `pbb_psn_rules` made by require_once(‘wp-admin/
   admin.php’), do_action(‘load-settings_page_post-status-notifier-lite’), WP_Hook-
   >do_action, WP_Hook->apply_filters, call_user_func_array, IfwPsn_Wp_Plugin_Application-
   >render, IfwPsn_Wp_Plugin_Application_Adapter_ZendFw->render, IfwPsn_Zend_Application-
   >run, IfwPsn_Zend_Application_Bootstrap_Bootstrap->run, IfwPsn_Zend_Controller_Front-
   >dispatch, IfwPsn_Zend_Controller_Dispatcher_Wp->dispatch, IfwPsn_Vendor_Zend_Controller_Action-
   >dispatch, PsnSelftestController->indexAction, IfwPsn_Wp_Plugin_Selftester->performTests,
   Psn_Test_BccField->execute, Psn_Patch_Database->isFieldBcc, IfwPsn_Wp_Proxy_Db::
   columnExists, IfwPsn_Wp_Proxy_Db::getTableFieldNames, IfwPsn_Wp_Proxy_Db::describe
 * Yes, the database name is wp_wp … is that confusing the plugin somehow? Or is
   something else going on?

Viewing 1 replies (of 1 total)

 *  Thread Starter [holmegm](https://wordpress.org/support/users/holmegm/)
 * (@holmegm)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-gets-the-db-prefix-wrong/#post-9191745)
 * The table “wp_psn_rules” does exist. But the code is looking for “wp_wp.pbb_psn_rules”

Viewing 1 replies (of 1 total)

The topic ‘plugin gets the db prefix wrong’ is closed to new replies.

 * ![](https://ps.w.org/post-status-notifier-lite/assets/icon-128x128.png?rev=971663)
 * [Post Status Notifier Lite](https://wordpress.org/plugins/post-status-notifier-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/post-status-notifier-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/post-status-notifier-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-status-notifier-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-status-notifier-lite/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [holmegm](https://wordpress.org/support/users/holmegm/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-gets-the-db-prefix-wrong/#post-9191745)
 * Status: not resolved