Tooltips pro interferes with wp_debug

Home Forums WordPress Tooltip Pro Support Tooltips pro interferes with wp_debug

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Hi Thomas,

    I noticed the pro version of your plugin interferes with the wp_debug function. Messages aren’t shown until I deactivate Tooltips pro.
    It doesn’t pose any problems to me, but just to let you know.

    Kind regards,

    Marielle

    Hi Mariëlle,

    Thanks for the message, I am not sure I understand you correctly or not, I enabled my wordpress debug like this:
    In wp-config.php, I replace define(‘WP_DEBUG’, false); with define(‘WP_DEBUG’, true);
    And I activate wordpress tooltips pro, and I can not find any php warning or fatal error, actually there are no any notice, could you please tell me more details about the problem? Thank you very much, have a happy day. 🙂

    Best Regards,
    Tomas

    Hi Thomas,

    Thank you for your reply. There is no issue with your plugin for me. It works fine. The only thing is that the wp_debug function of wordpress doesn’t work when your plugin is active. Of course I put the function on true in my wp-config.php file.

    Kind regards,

    Marielle.

    Hi Tomas,

    The wp_debug function is blocked because of a function you use in your tooltips.php:

    error_reporting(0);

    The use of this function is really not needed, because in WordPress the wp_debug is disabled by default.

    Again there are no issues with your plugin, but this is just to inform you why the wp_debug isn’t showing anything. Even if there was a problem.

    Kind regards,

    Mariëlle

    Hi Mariëlle,

    Thanks for the message. 🙂

    I understand, I added this is because some times I found a advance theme was hook standard wordpress API but not return correctly data, so there are conflicts, for avoid the site messed up, I used this function. I will add a new option which will disable this function in admin area by admin, thanks for your notice, also I am checking the plugin you told me in mail, thanks, have a happy weekend with your family! 🙂

    Best Regards,
    Tomas

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.