Title: Fatal Error
Last modified: August 21, 2016

---

# Fatal Error

 *  Resolved [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/)
 * Hi Lester,
 * Hanks for your plugin. It really helps with the theme I use.
 * Unfortunately I have upgraded my theme (which requires your plugin) and WordPress
   to the latest versions, then went ahead and tried to upgrade any plugins which
   needed upgrading. After updating your plugin to the latest version (Version 2.85)
   the following error:
 * Cannot redeclare scb_register_table() in /home/medsea/public_html/salingaroundthekrakenslair/
   wp-content/plugins/wp-pagenavi/scb/Table.php on line 38
 * Can you supply me with code to fix this error?
 * Thanks for any help you provide me with.
 * Surya Osborne.
 * [https://wordpress.org/plugins/wp-pagenavi/](https://wordpress.org/plugins/wp-pagenavi/)

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857204)
 * Does your theme already uses my plugin? I have not come across this problem before.
 *  Thread Starter [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857218)
 * Hi Lester,
 * Thanks for the quick reply.
 * Yes I use the U-Design theme from Themeforest and your plugin is required for
   the theme to work properly. In the past I have updated without any problems, 
   but this time has it in for me!
 * The issue arose after I updated my theme which then triggered the updates of 
   everything else. It was during the update of the various plugins that gave me
   this error. All the other plugins are fine. Just yours wont activate.
 * Do you have any idea what might have happened?
 * Surya.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857220)
 * Based on the error you posted your theme might be already including my plugin
   with it.
 * And hence your theme copy of WP-PageNavi and the plugin copy of WP-PageNavi got
   loaded and hence the error.
 * Try uninstalling the plugin copy of WP-PageNavi.
 *  Thread Starter [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857225)
 * Hi Lester,
 * Your super fast at replying. This is great support.
 * The theme I use doesn’t include it with the theme files, it only asks that I 
   install your plugin after I install the theme.
 * I took your advice and I just deleted the plugin and it’s data. Then loaded it
   again and I get the same error.
 * Do you have any other ideas?
 * Surya.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857226)
 * Can you make sure that you don’t have two copies of WP-PageNavi?
 * Also try searching for “function scb_register_table” in your themes and plugins.
   I wonder is another plugin using the SCB framework.
 *  Thread Starter [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857230)
 * I opened my FTP and found the plugins folder. There is only one copy of your 
   plugin inside it.
 * Also I disabled all of my other plugins and tried activating WP PageNavi again
   and I still get the same error.
 * All of the plugins worked well together before I started any upgrading.
 * How do I search for the function you mentioned? Do I have to through all the 
   files or is there a quick way of doing it? I have never searched for a functionbefore–
   would I go into the functions.php?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857232)
 * I recommend using [http://www.sublimetext.com/](http://www.sublimetext.com/) 
   and drag the whole /plugins/ and /themes/ folder to it and use “search in open
   folders”
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857233)
 * The other way is to switch to default theme, deactivate all plugins and activate
   WP-Pagenavi first
 *  Thread Starter [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857235)
 * So that was quick.
 * I searched all the plugin folders nd yours was the only plugin which had that“
   function scb_register_table”
 * Here are the results of that search:
 * ——————————————————–
 *     ```
       Searching 262 files for "function scb_register_table"
   
       /Users/mac/Downloads/plugins/wp-pagenavi/scb/Util.php:
         169   * @param string $name The actual name of the table, without $wpdb->prefix
         170   */
         171: function scb_register_table( $key, $name = false ) {
         172  	global $wpdb;
         173  
   
       1 match in 1 file
       ```
   
 * ——————————————————–
 * And here are the results from the theme folders:
 * ——————————————————–
 *     ```
       Searching 263 files for "function scb_register_table"
   
       0 matches across 0 files
       ```
   
 * ——————————————————–
 * So it seems a though your plugin is the only file that references that particular
   function.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857242)
 * That is weird. including the /themes/ folder as well?
 * Next step is to switch to default theme, deactivate all plugins and activate 
   WP-Pagenavi first
 *  Thread Starter [fathernugen](https://wordpress.org/support/users/fathernugen/)
 * (@fathernugen)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857293)
 * Hi Lester,
 * Somehow, I don’t know how, but, somehow the site just works again now. I re-uploaded
   all of the WordPress files again and everythig is back to normal. I must have
   misplaced a file or something. Or my internet connection is so slow that files
   get partially uploaded.
 * Turns out the way I use the U-Design theme I hardly need any of their recommended
   plugins anyway so I have deleted them all.
 * Thanks for all of your help. Whatever you said it made me look into things I 
   have never used, so thanks for your help and for helping to open my eyes so I
   can see further than I could before.
 * Surya.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857349)
 * Cool cheers man =)

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-pagenavi/assets/icon.svg?rev=977997)
 * [WP-PageNavi](https://wordpress.org/plugins/wp-pagenavi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pagenavi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pagenavi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pagenavi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pagenavi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pagenavi/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/fatal-error-1176/#post-4857349)
 * Status: resolved