Title: Errors in code
Last modified: May 7, 2021

---

# Errors in code

 *  Resolved [teeboy4real](https://wordpress.org/support/users/teeboy4real/)
 * (@teeboy4real)
 * [5 years ago](https://wordpress.org/support/topic/errors-in-code-6/)
 * Hello,
 * I cant access the settings page this error below is being displayed
 * `An error of type E_ERROR was caused in line 447 of the file /var/www/wptbox/
   wp-content/plugins/simple-blog-stats/simple-blog-stats.php. Error message: Uncaught
   Error: Call to undefined function ngettext() in /var/www/wptbox/wp-content/plugins/
   simple-blog-stats/simple-blog-stats.php:447 Stack trace: #0 /var/www/wptbox/wp-
   includes/shortcodes.php(343): sbs_roles() #1 [internal function]: do_shortcode_tag()#
   2 /var/www/wptbox/wp-includes/shortcodes.php(218): preg_replace_callback() #3/
   var/www/wptbox/wp-content/plugins/simple-blog-stats/simple-blog-stats.php(1602):
   do_shortcode() #4 /var/www/wptbox/wp-includes/class-wp-hook.php(292): sbs_render_form()#
   5 /var/www/wptbox/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()#
   6 /var/www/wptbox/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /var/www/
   wptbox/wp-admin/admin.php(259): do_action() #8 /var/www/wptbox/wp-admin/options-
   general.php(10): require_once('/var/www/wptbox...') #9 {main} thrown`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years ago](https://wordpress.org/support/topic/errors-in-code-6/#post-14412920)
 * I think the main part of the error is this:
 * “Call to undefined function ngettext()”
 * That means that a required function, `ngettext()`, is not available on your server.
   The only one who can help enable that function is your web host. So best advice
   would be to contact them, they will know if/how to enable, etc.
 * Once `ngettext()` is enabled on the server, the reported error will stop.

Viewing 1 replies (of 1 total)

The topic ‘Errors in code’ is closed to new replies.

 * ![](https://ps.w.org/simple-blog-stats/assets/icon-256x256.png?rev=1473961)
 * [Simple Blog Stats](https://wordpress.org/plugins/simple-blog-stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-blog-stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-blog-stats/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-blog-stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-blog-stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-blog-stats/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/errors-in-code-6/#post-14412920)
 * Status: resolved