• Resolved vardges

    (@vardges)


    Hi, when I submit the contact form on mobile, email doesn’t send it to the admin. And I get an error log

    [24-Nov-2020 18:28:50 UTC] WordPress database error Table ‘wp_bravepopup_stats’ doesn’t exist for query SELECT * FROM wp_bravepopup_stats WHERE popup = ’26’ made by do_action(‘wp_ajax_nopriv_bravepop_ajax_popup_viewed’), WP_Hook->do_action, WP_Hook->apply_filters, bravepop_ajax_popup_viewed, BravePop_Analytics::updatePopupStat
    [24-Nov-2020 18:28:50 UTC] WordPress database error Table ‘wp_bravepopup_stats’ doesn’t exist for query SHOW FULL COLUMNS FROM wp_bravepopup_stats made by do_action(‘wp_ajax_nopriv_bravepop_ajax_popup_viewed’), WP_Hook->do_action, WP_Hook->apply_filters, bravepop_ajax_popup_viewed, BravePop_Analytics::updatePopupStat

    After I try to find php file where you create “bravepopup_stats” table and don’t find it. How can I fix this ptoblem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brave

    (@getbrave)

    @vardges Looks like a bug. Can you please go to Brave > Analytics, and click the settings icon from top and then toggle the “Disable Tracking” option and then click save.

    Once you have done that, the form should work fine.

    Thanks

    Thread Starter vardges

    (@vardges)

    it’s don’t halp.

    [25-Nov-2020 15:53:55 UTC] WordPress database error Table ‘palmanha_db.wp_bravepopup_stats’ doesn’t exist for query SELECT * FROM wp_bravepopup_stats WHERE popup = ’26’ made by do_action(‘wp_ajax_nopriv_bravepop_ajax_popup_viewed’), WP_Hook->do_action, WP_Hook->apply_filters, bravepop_ajax_popup_viewed, BravePop_Analytics::updatePopupStat
    [25-Nov-2020 15:53:55 UTC] WordPress database error Table ‘palmanha_db.wp_bravepopup_stats’ doesn’t exist for query SHOW FULL COLUMNS FROM wp_bravepopup_stats made by do_action(‘wp_ajax_nopriv_bravepop_ajax_popup_viewed’), WP_Hook->do_action, WP_Hook->apply_filters, bravepop_ajax_popup_viewed, BravePop_Analytics::updatePopupStat

    https://www.loom.com/i/3e0174edfedf4b78954c4d9de45950e3

    Plugin Author Brave

    (@getbrave)

    @vardges In that case, go to Plugins > Plugin Editor, and select Brave Builder from top right corner. Then select lib > helpers > stats.php file and go to line 37 and remove this code:

       if(!$disableTracking){
          $date = isset($_POST['date']) ? $_POST['date'] : date('Y').'-'.date('m').'-'.date('d');
          $braveStats = new BravePop_Analytics();
          $braveStats->updatePopupStat( intval($popupID), 'views', $date, $goalIsFirstView);
       }

    Thanks

    Thread Starter vardges

    (@vardges)

    It’s helpful for the error but emails don’t send in mobile view.

    Plugin Author Brave

    (@getbrave)

    @vardges Is the email sent when you submit the form from desktop? Can you kindly send a message through this page about this:

    https://getbrave.io/contact

    Thanks

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