Fatal error on subscriber export
-
When trying to export subscribers (Subscribers \ Export) I get the following error. I believe this worked before the latest update (3.4.5).
Fatal error: Call to a member function get_var() on a non-object in /home/****/public_html/nagrade/wp-content/plugins/email-subscribers/subscribers/view-subscriber-export.php on line 24
**Update: I managed to fix the issue by commenting out the following lines:
// WordPress Registered Users
//$cnt_users = 0;
//$cnt_users = $wpdb->get_var( “SELECT count(DISTINCT user_email) FROM “. $wpdb->prefix . “users” );// Users who comments on blog posts
//$cnt_comment_author = 0;
//$cnt_comment_author = $wpdb->get_var( “SELECT count(DISTINCT comment_author_email) FROM “. $wpdb->prefix . “comments WHERE comment_author_email != ”” );
- The topic ‘Fatal error on subscriber export’ is closed to new replies.