Title: php7.0.8-1 upload images error
Last modified: September 1, 2016

---

# php7.0.8-1 upload images error

 *  [burateen](https://wordpress.org/support/users/burateen/)
 * (@burateen)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php708-1-upload-images-error/)
 *     ```
       2016/06/27 11:06:54 [error] 16308#16308: *3456081 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function utf8_encode() in /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/functions.php:438
       Stack trace:
       #0 /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/functions.php(1180): nggAdmin::scandir('/var/www/web/si...')
       #1 /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/class-ngg-adder.php(79): nggAdmin::upload_images()
       #2 /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/class-ngg-post-admin-page.php(26): NGG_Adder->processor()
       #3 /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/class-ngg-adder.php(122): NGG_Post_Admin_Page->display()
       #4 /var/www/web/sites/gorodskievesti.ru/wp-content/plugins/nextcellent-gallery-nextgen-legacy/admin/class-ngg-admin-launcher.php(208): NGG_Adder->display()
       #5 /var/www/web/si" while reading upstream, client: 94.190.46.2, server: localhost, request: "POST /wp-admin/admin.php?page=nggallery-add-gallery HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "www.gorodskievesti.ru", referrer: "http://www.gorodskievesti.ru/wp-admin/admin.php?page=nggallery-add-gallery"
       ```
   
 * [https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [burateen](https://wordpress.org/support/users/burateen/)
 * (@burateen)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php708-1-upload-images-error/#post-7519884)
 * Solution
    `apt-get install php7.0-xml`

Viewing 1 replies (of 1 total)

The topic ‘php7.0.8-1 upload images error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextcellent-gallery-nextgen-legacy_9c9087.
   svg)
 * [NextCellent Gallery - NextGEN Legacy](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/)
 * [Active Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextcellent-gallery-nextgen-legacy/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 1 reply
 * 1 participant
 * Last reply from: [burateen](https://wordpress.org/support/users/burateen/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/php708-1-upload-images-error/#post-7519884)
 * Status: not resolved