Title: Error 500 on settings
Last modified: December 5, 2016

---

# Error 500 on settings

 *  Resolved [metamorpher](https://wordpress.org/support/users/metamorpher/)
 * (@metamorpher)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-500-on-settings/)
 * Hi. I would like some help, maybe any of you guys encountered the solution.
 * My server throws an error 500 when I try to access the setting page of the plugin.
 * I’m running a MAMP pro, PHP 5.6, on a mac environment, all libraries on. And 
   PHP error log doesn’t show anything.
 * Thanks in advance 😉

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

 *  Thread Starter [metamorpher](https://wordpress.org/support/users/metamorpher/)
 * (@metamorpher)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-500-on-settings/#post-8516965)
 * Sorry, was just a misconfiguration on my side. Although I don’t know what happened,
   I just changed my PHP version to 7.0, restarted, then changed again to 5.6, and
   it works like charm now.
 * Weird stuff 🙂
 *  [gchtr](https://wordpress.org/support/users/gchtr/)
 * (@gchtr)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/error-500-on-settings/#post-8551878)
 * I run into the same error.
 * The plugin breaks on line 267 in `/wp-user-avatar/includes/class-wp-user-avatar-
   admin.php`:
 * `$wpua_list .= '<p id="wpua-edit"><button type="button" class="button" id="wpua-
   add" name="wpua-add" data-avatar_default="true" data-title="'._('Choose Image').':'._('
   Default Avatar').'">'.__('Choose Image','wp-user-avatar').'</button>';`
 * I don’t know why exactly it breaks, but `_('Choose Image')` and `_('Default Avatar')`
   are the culprits. They use the alias `_()` for PHP’s own `gettext()` function.
   If the plugin author could use [`__()`](https://developer.wordpress.org/reference/functions/__/)
   for both of these, that would be great.
 *  [MistaDan](https://wordpress.org/support/users/mistadan/)
 * (@mistadan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/error-500-on-settings/#post-8707604)
 * Confirmed. gchtr’s fix resolves the problem.

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

The topic ‘Error 500 on settings’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-avatar/assets/icon-256x256.png?rev=2532486)
 * [Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress](https://wordpress.org/plugins/wp-user-avatar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-avatar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-avatar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-avatar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-avatar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-avatar/reviews/)

## Tags

 * [page](https://wordpress.org/support/topic-tag/page/)
 * [settings](https://wordpress.org/support/topic-tag/settings/)

 * 3 replies
 * 3 participants
 * Last reply from: [MistaDan](https://wordpress.org/support/users/mistadan/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/error-500-on-settings/#post-8707604)
 * Status: resolved