Skip to content

Debug warning: Notice: Use of undefined constant KBE_PLUGIN_SLUG #116

@runofthemill

Description

@runofthemill

Upon plugin activation, I get a warning at the top of my WP Admin:

Notice: Use of undefined constant KBE_PLUGIN_SLUG - assumed 'KBE_PLUGIN_SLUG' in /srv/www/ooc.teamrubiconusa.org/current/web/app/plugins/wp-knowledgebase/articles/kbe_articles.php on line 30

Here's a screenshot of the full output:
screen shot 2016-08-03 at 4 56 36 pm

Not sure if this is caused by the same thing as #62 but wanted to bring to your attention.

This is on a local Vagrant box running PHP 7.0.9-1+deb.sury.org~trusty+1 (cli) ( NTS ) and the Trellis stack with define('WP_DEBUG', true);

There were a number of additional notices (also for undefined constants) when I viewed the front-end, but I don't think those are worth reporting; you can probably see them if you turn on WP_DEBUG. Setting define('WP_DEBUG',false); removes the notices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions