• Resolved slifei

    (@slifei)


    In Setting > Simple blog statistics
    Number of users per role, Output
    Output on the right, an error code appears

    atal error: Uncaught Error: Call to undefined function ngettext() in /home/slifeimsflciifgeti/wwwroot/wp-content/plugins/simple-blog-stats/simple-blog-stats.php:392 Stack trace: #0 /home/slifeimsflciifgeti/wwwroot/wp-includes/shortcodes.php(325): sbs_roles(Array, ”, ‘sbs_roles’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/slifeimsflciifgeti/wwwroot/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(sbs_ro…’, ‘do_shortcode_ta…’, ‘[sbs_roles role…’) #3 /home/slifeimsflciifgeti/wwwroot/wp-content/plugins/simple-blog-stats/simple-blog-stats.php(1435): do_shortcode(‘[sbs_roles role…’) #4 /home/slifeimsflciifgeti/wwwroot/wp-includes/class-wp-hook.php(286): sbs_render_form(”) #5 /home/slifeimsflciifgeti/wwwroot/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #6 /home/slifeimsflciifgeti/wwwroot/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /home/slifeimsflciifgeti/wwwroot/wp-admin/admin.php(253): do_action(‘settings_page_s…’) #8 /home/slifeimsflciifgeti/w in /home/slifeimsflciifgeti/wwwroot/wp-content/plugins/simple-blog-stats/simple-blog-stats.php on line 392
    The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thanks for reporting this, slifei. I will investigate and try to resolve if possible in the next plugin update. Can you let me know 1) which version of PHP you are using? And 2) whether hosted on Linux or Windows (or other) server. Thank you again for your help.

    Thread Starter slifei

    (@slifei)

    PHP 7.1
    Linux

    Plugin Author Jeff Starr

    (@specialk)

    Thanks. Also, does your site have a LOT of users?

    Plugin Author Jeff Starr

    (@specialk)

    Looking more closely at this, the reported error is basically this:

    “Uncaught Error: Call to undefined function ngettext()”

    That means there is a core PHP function missing on the server. Specifically, ngettext() is not available (documentation). To resolve the reported issue, enable ngettext() on the server.

    I hope this helps. Let me know if anything is unclear, or if any questions, etc. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I have an error code.Number of users per role’ is closed to new replies.