Support » Plugin: Newsletter » Last update contains a bug

  • Resolved toologic

    (@toologic)


    Bug in statistics.php, function – hook_wp_loaded

    update ..._newsletter_sent set open=1, ip='' where email_id=14 and user_id=1 where open=0 limit 1,

    Double WHERE in sql? Wow!
    Please, be carefully while copy-paste in production code

    • This topic was modified 1 year, 7 months ago by toologic.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Roberto Fietta

    (@webagile)

    Fixed in 5.3.6 version.

    Hmmm. Last update 5.3.6 contain another bug.

    I try to delete one of Newsletters and …
    [Fri Apr 20 17:12:20.976594 2018] [:error] [pid 8050] [client 149.126.168.34:15497] PHP Fatal error: Uncaught Error: Call to a member function delete() on null in /home/my_place/www/wp-content/plugins/newsletter/includes/module.php:674\nStack trace:\n#0 /home/my_place/www/wp-content/plugins/newsletter/emails/index.php(31): NewsletterModule->delete_email('11')\n#1 /home/my_place/www/wp-content/plugins/newsletter/includes/module.php(587): require('/home/......')\n#2 /home/my_place/www/wp-includes/class-wp-hook.php(286): NewsletterModule->menu_page('')\n#3 /home/my_place/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)\n#4 /home/my_place/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#5 /home/my_place/www/wp-admin/admin.php(224): do_action('newsletter_page...')\n#6 {main}\n thrown in /home/my_place/www/wp-content/plugins/newsletter/includes/module.php on line 674, referer: https://my_site/wp-admin/admin.php?page=newsletter_emails_index

    And strange situation. I run 2 newsletters about 3 hours ago and i see that 0 letters sended. The earlier versions of the plugin did this quickly

    • This reply was modified 1 year, 7 months ago by toologic.
    • This reply was modified 1 year, 7 months ago by toologic.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Last update contains a bug’ is closed to new replies.