• Resolved fredel

    (@fredel)


    hey! hope ur super fine! one question: why are debug parameters always active (or can i prevend somehow?)

    if(wpp_params.debug && window.console && window.console.log) { window.console.log(JSON.parse(response)); }

    Thx 🙂

    • This topic was modified 1 year, 5 months ago by fredel.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @fredel, I’m doing fine. Thanks for asking! Hope you’re doing well over there.

    About your question, that happens because in your wp-config.php file you have this:

    define( 'WP_DEBUG', true );

    … which shouldn’t be there on a live site, that’s not a good programming practice as it should be used only on development environments. In some cases it could even expose your site to security risks. So either remove it from your wp-config.php file or set it to false like so:

    define( 'WP_DEBUG', false );
    Thread Starter fredel

    (@fredel)

    oh man, sorry 😉 seems debug infos are enabled through a security plugin, sorry for that! best

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

The topic ‘debug info in console’ is closed to new replies.