• Resolved greg0r

    (@greg0r)


    Hello,

    I installed Kint Debugger and received the following error message, after using d($data):

    Error: Class ‘Kint’ not found in /srv/Projekte/wp-dev/wp-content/plugins/kint-debugger/kint-debugger.php on line 101

    PHP Version: PHP 7.1
    WordPress: 4.8.2

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Chris Dillon

    (@cdillon27)

    Where are you calling that?

    Thread Starter greg0r

    (@greg0r)

    I called it inside my __construct function, inside my plugins class, which gets initialized by

    new Plugin();

    ´

    Do I get this error because it’s not inside of any hook function?

    Plugin Author Chris Dillon

    (@cdillon27)

    The Kint class is loaded on the plugins_loaded action hook. If you need it sooner, consider including it in your plugin instead. Or just use a var_dump or print_r.

    Thread Starter greg0r

    (@greg0r)

    Thank you very much! 🙂

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

The topic ‘Error: Class ‘Kint’ not found’ is closed to new replies.