Title: PHP 7 Compatibility? Breaking.
Last modified: September 1, 2016

---

# PHP 7 Compatibility? Breaking.

 *  Resolved [ciordia9](https://wordpress.org/support/users/ciordia9/)
 * (@ciordia9)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-breaking/)
 * `PHP Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string()
   in /srv/www/tld.com/public_html/wp-content/plugins/download-monitor/admin/add_new.
   php:164\nStack trace:\n#0 /srv/www/tld.com/public_html/wp-includes/plugin.php(
   524): dlm_addnew('')\n#1 /srv/www/tld.com/public_html/wp-admin/admin.php(222):
   do_action('downloads_page_...')\n#2 {main}\n thrown in /srv/www/tld.com/public_html/
   wp-content/plugins/download-monitor/admin/add_new.php on line 164, referer: http://
   tld.com/wp-admin/admin.php?page=dlm_ad`
 * Upgraded to Ubuntu 16.04.1 LTS which switched me from PHP 5 to 7. Your plugin
   seems to still work on most functions, but I cannot add anything new.
 * [https://wordpress.org/plugins/download-monitor/](https://wordpress.org/plugins/download-monitor/)

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

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-breaking/#post-7696416)
 * Hello [@ciordia9](https://wordpress.org/support/users/ciordia9/),
 * Can you please confirm if you are using the latest version of our plugin “1.9.5”?
 *  Thread Starter [ciordia9](https://wordpress.org/support/users/ciordia9/)
 * (@ciordia9)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-breaking/#post-7696427)
 * This has made me realize I’m running the legacy code from the prior iteration
   3.3.6.1 — you know things run great until they don’t, then you figure out where
   you are.
 * Do you think I can run the Legacy Converter, delete the old DM, and install the
   new one, and be good-to-go? Based on iconography between the github transition
   it matches.

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

The topic ‘PHP 7 Compatibility? Breaking.’ is closed to new replies.

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

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ciordia9](https://wordpress.org/support/users/ciordia9/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-breaking/#post-7696427)
 * Status: resolved