WordPress.org

Forums

Email Users
[resolved] item count missing on user settings table (2 posts)

  1. Matt Thiessen
    Member
    Posted 3 years ago #

    On /wp-admin/admin.php?page=mailusers-user-settings the item count fails on number_format().

    Warning: number_format() expects parameter 1 to be double, array given in /mnt/stor1-wc1-dfw1/412889/www.theblueberrypartnership.com/web/content/wp-includes/functions.php on line 155

    Fixed this by changing line 449 from this:

    $totalitems = count_users() ;

    to this:

    $user_count = count_users();
    $totalitems = $user_count['total_users'];

    http://wordpress.org/extend/plugins/email-users/

  2. Mike Walsh
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks - not sure how that slipped by before but I have added your change into the 4.3.6 release that just went out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.