Title: V1.1 update breaks plugin
Last modified: August 30, 2016

---

# V1.1 update breaks plugin

 *  [craftygeek](https://wordpress.org/support/users/craftygeek/)
 * (@craftygeek)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/)
 * I’ve just updated the plugin to v1.1 & it has deactivated:
 * > The plugin wp-knowledgebase/index.php has been deactivated due to an error:
   > Plugin file does not exist.
 * [https://wordpress.org/plugins/wp-knowledgebase/](https://wordpress.org/plugins/wp-knowledgebase/)

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

 *  Thread Starter [craftygeek](https://wordpress.org/support/users/craftygeek/)
 * (@craftygeek)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809432)
 * Ok – its the template files causing this.
 * I had previously customized the layout to be bootstrap friendly & put them in
   my theme…using the new template files gets it all working again.
 * Other users will have this issue – i’m sure.
 * I only installed wp-knowledgebase & customized the templates over the last week…
   how often is this going to happen?
 * Its fairly annoying to lose a chunk of work like that.
 *  Plugin Contributor [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809468)
 * 1.1 is a very major overhaul but I’m pretty sure your templates won’t be actually
   lost. Please can you check that your Knowledgebase page has the page template
   correctly set? I’m guessing it may just have lost that setting on upgrade…
 *  Plugin Contributor [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809471)
 * > The plugin wp-knowledgebase/index.php has been deactivated due to an error:
   > Plugin file does not exist.
 * In 1.1 we renamed index.php to wp-knowledgebase.php which is best practise, and
   wrote an upgrade script which should sort out that error message but there are
   various reasons why for some users it may not work 100%. If this happened to 
   you it’s very simple to fix. Just go to your plugins dash and activate the plugin
   again. Any further issues, let me know. I hope the improvements we’ve made in
   the overhaul make up for this small one-off inconvenience. Thanks for understanding,
   and sorry for any trouble.
 *  [chamanara](https://wordpress.org/support/users/chamanara/)
 * (@chamanara)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809499)
 * The update also broke my installation, but deactivating and reactivating hasn’t
   fixed it. This is the error I get when I turn it back on:
 * Warning: Illegal string offset ‘kbe_article_qty’ in /home/cc/public_html/wp-content/
   plugins/wp-knowledgebase/wp-knowledgebase.php on line 227
 * Warning: Illegal string offset ‘kbe_plugin_slug’ in /home/cc/public_html/wp-content/
   plugins/wp-knowledgebase/wp-knowledgebase.php on line 228
 * Warning: Illegal string offset ‘kbe_search_setting’ in /home/cc/public_html/wp-
   content/plugins/wp-knowledgebase/wp-knowledgebase.php on line 229
 * Warning: Illegal string offset ‘kbe_breadcrumbs_setting’ in /home/cc/public_html/
   wp-content/plugins/wp-knowledgebase/wp-knowledgebase.php on line 230
 * Warning: Illegal string offset ‘kbe_sidebar_home’ in /home/cc/public_html/wp-
   content/plugins/wp-knowledgebase/wp-knowledgebase.php on line 231
 * Warning: Illegal string offset ‘kbe_sidebar_inner’ in /home/cc/public_html/wp-
   content/plugins/wp-knowledgebase/wp-knowledgebase.php on line 232
 * Warning: Illegal string offset ‘kbe_comments_setting’ in /home/cc/public_html/
   wp-content/plugins/wp-knowledgebase/wp-knowledgebase.php on line 233
 * Warning: Illegal string offset ‘kbe_bgcolor’ in /home/cc/public_html/wp-content/
   plugins/wp-knowledgebase/wp-knowledgebase.php on line 234
 * Any idea how to fix this?
 *  Plugin Contributor [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809517)
 * Hey [@chamanara](https://wordpress.org/support/users/chamanara/) thanks for reporting
   this. None of those errors are mission critical so let’s hide them temporarily
   until I can release a patch for this bug.
 * Add the following code to the plugin’s main file /wp-content/plugins/wp-knowledgebase/**
   wp-knowledgebase.php**
 *     ```
       //=========> Hide all Reporting Errors
       error_reporting(0);
       ```
   
 * Add this at the top of the file after the opening `<?php` tag
 * This is just a temporary fix to stop those error messages showing and disrupting
   your front end site. I’ll look into this ASAP and release a patch. Sorry for 
   the inconvenience, and again, thanks for reporting this. Much appreciated.
 *  [flowdee](https://wordpress.org/support/users/flowdee/)
 * (@flowdee)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809549)
 * When updating the settings, the php warnings disappear. But of course they should
   be handled by the plugin 🙂
 *  [taxman972](https://wordpress.org/support/users/taxman972/)
 * (@taxman972)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809587)
 * After updating the plugin, I have the same errors.
 *     ```
       //=========> Hide all Reporting Errors
       error_reporting(0);
       ```
   
 * Your patch have been applied successfully.

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

The topic ‘V1.1 update breaks plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-knowledgebase_c56559.svg)
 * [WordPress Knowledge base & Documentation Plugin - WP Knowledgebase](https://wordpress.org/plugins/wp-knowledgebase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-knowledgebase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-knowledgebase/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-knowledgebase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-knowledgebase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-knowledgebase/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [taxman972](https://wordpress.org/support/users/taxman972/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/v11-update-breaks-plugin/#post-6809587)
 * Status: not resolved