Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter craftygeek

    (@craftygeek)

    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

    (@enigmaweb)

    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

    (@enigmaweb)

    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.

    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

    (@enigmaweb)

    Hey @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.

    When updating the settings, the php warnings disappear. But of course they should be handled by the plugin ??

    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.