Title: PHP7 error?
Last modified: October 3, 2017

---

# PHP7 error?

 *  Resolved [martinperreault](https://wordpress.org/support/users/martinperreault/)
 * (@martinperreault)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php7-error-15/)
 * Hi,
    I am getting the following error message with NEXTGEN GALLERY PLUGIN:
 * “ERROR THROWN
    Call to undefined function mysql_get_client_info()”
 * I get this error message when logging in the WP ADMIN section. A total white 
   page, with the error message. I troubleshooted the problem by deactivating the
   plugins and reactivating them one by one and NEXTGEN is the faulty plugin creating
   the error.
 * I recently updated the server to use PHP7. I wonder if this could be related?
 * I have now temporarely disabled NextGen Gallery Plugin.
 * Any idea why this problem is present, and how to fix it? Thank you!

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

 *  Thread Starter [martinperreault](https://wordpress.org/support/users/martinperreault/)
 * (@martinperreault)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9552754)
 * Disregard.
    Upating the theme fixed the issue.
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9559486)
 * [@martinperreault](https://wordpress.org/support/users/martinperreault/) – Thanks
   for the update!
 * – Cais.
 *  Thread Starter [martinperreault](https://wordpress.org/support/users/martinperreault/)
 * (@martinperreault)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9617397)
 * This problem has come back again… Same as originally described in my first post.
   I have no idea what causes this issue…
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9620191)
 * [@martinperreault](https://wordpress.org/support/users/martinperreault/) – Although
   I can appreciate you seeing this as related to NextGEN Gallery, we do not specifically
   call the `mysql_get_client_info()` function from within our plugin’s code.
 * Given it was removed in PHP 7.0.0 (reference: [http://php.net/manual/en/function.mysql-get-client-info.php](http://php.net/manual/en/function.mysql-get-client-info.php))
   I would suggest looking to other plugins, etc. on your site that might be calling
   it.
 * Thanks!
 * – Cais.
 *  Thread Starter [martinperreault](https://wordpress.org/support/users/martinperreault/)
 * (@martinperreault)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9620397)
 * Thank you for your feedback.
    Strangely, the problem goes away as soon as I de-
   activate NEXTGEN gallery plugin…
 * I’ll try to investigate if any other plugin could also be the cause of this problem…
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9624265)
 * [@martinperreault](https://wordpress.org/support/users/martinperreault/) – It’s
   possible (given your results) that NextGEN Gallery may be involved in this in
   some manner, I’m just noting we do not use that specific call to the function
   in your messages.
 * Thanks!
 * – Cais.
 *  [mlaungani](https://wordpress.org/support/users/mlaungani/)
 * (@mlaungani)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9934367)
 * Hi Cais,
 * I’m having the exact same issue, without the call function.
 * **Troubleshooting: **
    – Deactivated all the plugins, and found Nextgen Gallery
   Plugin to be the source of error. – Reactivated rest of the plugins, except for
   NexGen Gallery, shortcode for the galleries kept showing. – Reactivated Nexgen,
   shows “Error Thrown”
 * **Last few changes**
    – Installed – 1) Linkedin Company Updates 7 connected via
   API, – 2) Re-add text underline and justify
 * _P.s: I’m guessing, with [@martinperreault](https://wordpress.org/support/users/martinperreault/),
   the call function may not be related to this plugin, but may be coming from another
   source, and could be showing due to the plugin not working, revealing the code._
 *  Plugin Contributor [Imagely](https://wordpress.org/support/users/imagely/)
 * (@imagely)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9944010)
 * [@mlaungani](https://wordpress.org/support/users/mlaungani/) – Please start your
   own topic so we can try to help you with your specific issue on your specific
   site.
 * See [https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place](https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place)
 * Thanks!
 * – Cais.

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

The topic ‘PHP7 error?’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [error thrown](https://wordpress.org/support/topic-tag/error-thrown/)
 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 8 replies
 * 3 participants
 * Last reply from: [Imagely](https://wordpress.org/support/users/imagely/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php7-error-15/#post-9944010)
 * Status: resolved