Support » Theme: Nisarg » reCAPTCHA Code Causing White Box Under Footer

  • Resolved Mr. FFP

    (@mrffp)


    I experimented with adding reCAPTCHA v2.0 to my website’s contact form today but removed it upon noting that it added a white box in the lower left of every page on my website, directly under the footer.

    My problem is that even after deleting my reCAPTCHA API keys and turning off all reCAPTCHA options in my contact form plugin (WPFormsLite), the white box remains.

    Apparently this is a known issue that has affected others as well, but the solutions that seem to have worked for them are not working for me. For example, I tried the solution listed at this link, to no effect. I’ve also tried the solutions listed here.

    I never modified any of my .css or .php code, simply added the reCAPTCHA API keys to my contact form plugin (WPFormsLite) settings according to these work instructions. I removed it the same way.

    I’ve searched style.css and functions.php for any reCAPTCHA-related code and cannot find any. I’ve tried deactivating WPFormsLite but that had no effect. Caching is disabled and all caches are purged.

    Anyone else run into this issue or have an idea on how I can solve it? Driving me batty.

    • This topic was modified 3 weeks, 6 days ago by  Mr. FFP.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • As another piece to the puzzle, it appears the empty white box beneath the footer appears on pages, but not posts.

    Turns out, the reCAPTCHA incident was simply coincidence. The true problem was caused by a recent update to my commenting solution plugin, WPDiscuz.

    They will be fixing this in a future release, but have provided code to be added to functions.php for now:

    
    if (!function_exists(‘hide_empty_div’) && function_exists(‘wpdiscuz’)) {
    add_action(‘wp_footer’, ‘hide_empty_div’);
    
    function hide_empty_div() {
     global $post;
     $wpd = wpdiscuz();
     if ($wpd && !$wpd->helper->isLoadWpdiscuz($post)) {
     $css = “#wpdInfo{display:none;}”;
    echo $css;
     }
     }
     }
    • This reply was modified 3 weeks, 5 days ago by  Mr. FFP. Reason: Added link to WPDiscuz solution
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.