Does your theme already uses my plugin? I have not come across this problem before.
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.
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.
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.
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.
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?
I recommend using http://www.sublimetext.com/ and drag the whole /plugins/ and /themes/ folder to it and use “search in open folders”
The other way is to switch to default theme, deactivate all plugins and activate WP-Pagenavi first
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.
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
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.