Title: [Plugin: Wp-Insert] Fatal error: Call to undefined function mb_internal_encoding()
Last modified: August 20, 2016

---

# [Plugin: Wp-Insert] Fatal error: Call to undefined function mb_internal_encoding()

 *  Resolved [erwpacc](https://wordpress.org/support/users/erwpacc/)
 * (@erwpacc)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/)
 * hello,
 * i just updated the plugin and got the following error:
 * Fatal error: Call to undefined function mb_internal_encoding() in wp-content/
   plugins/wp-insert/includes/common/geoip/geoip.inc on line 584
 * which basically crashed my site, so i had to ssh over to the server and manually
   delete the directory.
 * any ideas what caused this?
 * [http://wordpress.org/extend/plugins/wp-insert/](http://wordpress.org/extend/plugins/wp-insert/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Namith Jawahar](https://wordpress.org/support/users/namithjawahar/)
 * (@namithjawahar)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087506)
 * Are you on the latest version of WordPress?
 * mb_internal_encoding() is a function built in into PHP 5 so it should be available
   if you are on WordPress 3+ as WordPress 3+ need PHP 5 by default
    [http://php.net/manual/en/function.mb-internal-encoding.php](http://php.net/manual/en/function.mb-internal-encoding.php)
 *  Thread Starter [erwpacc](https://wordpress.org/support/users/erwpacc/)
 * (@erwpacc)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087521)
 * i am running wordpress version 3.4.2
    php version 5.3.16
 *  Plugin Author [Namith Jawahar](https://wordpress.org/support/users/namithjawahar/)
 * (@namithjawahar)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087525)
 * Try asking your host to activate the PHP mbstring extension…
 * The function in question is being used by the GEO location API. If more people
   have issues with the module I will try temporarily deactivating it until a solution
   is found..
 *  Thread Starter [erwpacc](https://wordpress.org/support/users/erwpacc/)
 * (@erwpacc)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087541)
 * lol…
    i am the host… =( in anycase, i rebuilt the server w/the extension enabled
 * one thing to point out is that mbstring is a non-default extension:
    [http://us2.php.net/manual/en/mbstring.installation.php](http://us2.php.net/manual/en/mbstring.installation.php)
 * so possibly a notice or disclaimer acknowledging the dependency on the extension
   would be appropriate?
 * alternatively, i don’t know much about php, but if there is some type of error
   handling that can be done to exit gracefully if the function call fails, that
   might be a bit less intrusive.
 * thanks for your help and quick responses!
    problem is resolved.
 *  Plugin Author [Namith Jawahar](https://wordpress.org/support/users/namithjawahar/)
 * (@namithjawahar)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087573)
 * I understand what you are suggesting..The thing preventing me from modifying 
   that files is; its a third party API file which I will have to update regularly
   to keep up with the GEO location service. But now that I think about it, I can
   check for all non default extensions the API uses before loading the API or write
   to GEO IP developers to add some error handling in the API service. I have decided
   to do both.
 * Thanks for your suggestions.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Wp-Insert] Fatal error: Call to undefined function mb_internal_encoding()’
is closed to new replies.

 * ![](https://ps.w.org/wp-insert/assets/icon-256x256.png?rev=984289)
 * [Wp-Insert](https://wordpress.org/plugins/wp-insert/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-insert/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-insert/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-insert/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-insert/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-insert/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Namith Jawahar](https://wordpress.org/support/users/namithjawahar/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-insert-fatal-error-call-to-undefined-function-mb_internal_encoding/#post-3087573)
 * Status: resolved