Support » Plugin: Theme Check » Errors in the plugin, doesn’t work anymore

  • “REQUIRED: You are not allowed to hide the admin bar.”
    NOBODY is hiding the admin bar. We are just positioning it correctly because WP doesn’t.
    This check is DUMB. Please remove.

    • This topic was modified 1 year, 2 months ago by  QantumThemes.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Ulrich

    (@grapplerulrich)

    WordPress Contributor

    The constants are PHP constants. The issue may have been caused by changing the PHP version. This is an issue which needs to be fixed in your hosting environment and cannot be fixed in the plugin.

    I understand. I’m having the issue in AMPPS actually, by the way i have php 5.6 all libraries on.

    The best thing would be, before using the constants, to always check them

    if(!defined(CONSTANT_HERE)){
    define(“CONSTANT_HERE”, “value”);
    }

    so no errors will appear.

    I always used the plugin since 3 years in local, same environment, and never saw these errors. Worth give it a try…

    Ulrich

    (@grapplerulrich)

    WordPress Contributor

    The theme check will not work without these constants defined by PHP. We could have better error messages in such a case but it still does not solve your root problem.

    There have been no changes to this code in some time. You need to make sure the php5-tokenizer package is installed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors in the plugin, doesn’t work anymore’ is closed to new replies.