Title: PHP 7 Compatibility &#8211; specifically, reference to an undefined variable
Last modified: October 15, 2019

---

# PHP 7 Compatibility – specifically, reference to an undefined variable

 *  Resolved [connectisl](https://wordpress.org/support/users/connectisl/)
 * (@connectisl)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-specifically-reference-to-an-undefined-variable/)
 * Hi there,
 * We are migrating a number of sites over to the newest version of PHP and fixing
   compatibility issues and bugs along the way, this process is rather lengthy and
   has allowed us to find errors in some of the plugins we use.
 * The file with the undefined variable reference is download-manager/libs/class.
   Pagination.php in the show() function at line 169.
 * There is no default value assigned to the variable $e_id and WP_Debug throws 
   up a lot of errors.
 * If you could rectify this at some point that would be great.
 * Thank you,
    Connect.

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

 *  Plugin Contributor [Shafaet Alam](https://wordpress.org/support/users/shafayat-alam/)
 * (@shafayat-alam)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-7-compatibility-specifically-reference-to-an-undefined-variable/#post-12046658)
 * Hi,
    Are you using the latest version of WPDM?
 *  Thread Starter [connectisl](https://wordpress.org/support/users/connectisl/)
 * (@connectisl)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-specifically-reference-to-an-undefined-variable/#post-12111300)
 * Thanks, with an updated version this is resolved.

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

The topic ‘PHP 7 Compatibility – specifically, reference to an undefined variable’
is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)
 * [php-7](https://wordpress.org/support/topic-tag/php-7/)
 * [Undefined Variables](https://wordpress.org/support/topic-tag/undefined-variables/)

 * 2 replies
 * 2 participants
 * Last reply from: [connectisl](https://wordpress.org/support/users/connectisl/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/php-7-compatibility-specifically-reference-to-an-undefined-variable/#post-12111300)
 * Status: resolved