Title: Adding a new user causes errors (nginx/php 7)
Last modified: September 1, 2016

---

# Adding a new user causes errors (nginx/php 7)

 *  [hansgv](https://wordpress.org/support/users/hansgv/)
 * (@hansgv)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/adding-a-new-user-causes-errors-nginxphp-7/)
 * Adding a new user causes nginx to bonk and a bunch of php error messages. Disabling
   the plugin gets rid of the problem.
 * nginx/1.10.0 (Ubuntu)
    PHP 7.0.8-0ubuntu0.16.04.2
 *     ```
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 94
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 95
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 98
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 99
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 102
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 103
       PHP message: PHP Warning:  Illegal offset type in /var/www/html/wp-admin/includes/image.php on line 106" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: server.example.com, request: "GET /wp-admin/user-edit.php?user_id=5&updated=1&wp_http_referer=%2Fwp-admin%2Fusers.php HTTP/1.1", upstream: "fastcgi://unix:/run/ph
       ```
   
 * [https://wordpress.org/plugins/wp-user-avatar/](https://wordpress.org/plugins/wp-user-avatar/)

The topic ‘Adding a new user causes errors (nginx/php 7)’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [hansgv](https://wordpress.org/support/users/hansgv/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/adding-a-new-user-causes-errors-nginxphp-7/)
 * Status: not resolved