Title: new errors
Last modified: May 7, 2019

---

# new errors

 *  [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * (@dreamsign)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/new-errors-4/)
 * the plugin has started generating errors:
 * /plugins/download-manager/wpdm-functions.php on line 384
    /plugins/download-manager/
   libs/class.Package.php on line 1013
 * Latest version of both the plugin and WP installed.
 * thoughts?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnew-errors-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * (@dreamsign)
 * [7 years ago](https://wordpress.org/support/topic/new-errors-4/#post-11521436)
 * Still not working after latest update
 *  Plugin Contributor [W3 Eden, Inc.](https://wordpress.org/support/users/w3eden/)
 * (@w3eden)
 * [7 years ago](https://wordpress.org/support/topic/new-errors-4/#post-11543330)
 * Hi,
    To fix the error, please replace shortcode `wpdm_file` with `wpdm_package`.
   Doc: [https://www.wpdownloadmanager.com/doc/short-codes/wpdm_package-single-package-embed-short-code/](https://www.wpdownloadmanager.com/doc/short-codes/wpdm_package-single-package-embed-short-code/)
 *  Thread Starter [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * (@dreamsign)
 * [7 years ago](https://wordpress.org/support/topic/new-errors-4/#post-11552437)
 * That created a ton of new errors, like this:
 * Undefined index: ID in /wp-content/plugins/download-manager/libs/class.Package.
   php on line 69
 *  Thread Starter [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * (@dreamsign)
 * [7 years ago](https://wordpress.org/support/topic/new-errors-4/#post-11552454)
 * I’ve returned wpdm_package to wpdm_file and commented out this code in wpdm-functions.
   php:
 * /*$templates = maybe_unserialize(get_option(“_fm_link_templates”, true));
 *  if(!isset($template) || $template==”” ) $template = $data[‘template’];
 *  if(isset($template) && isset($templates[$template]) && isset($templates[$template][‘
   content’])) $template = $templates[$template][‘content’];
 *  return “<div class=’w3eden’>” . FetchTemplate($template, $data, ‘link’) . “</
   div>”;*/
 * This at least allows the shortcodes to remain without generating any errors.
 *  Thread Starter [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * (@dreamsign)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/new-errors-4/#post-11628970)
 * I’ve updated to the latest version and it still results in the following errors:
 * /plugins/download-manager/wpdm-functions.php on line 384
    /plugins/download-manager/
   libs/class.Package.php on line 1013
 * changing wpdm_file to wpdm_package no longer returns errors, but the package 
   is empty. What results is a no download link. The plugin displays a red download
   image, and the package info lists “0 file(s)”.

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

The topic ‘new errors’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [dreamsign](https://wordpress.org/support/users/dreamsign/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/new-errors-4/#post-11628970)
 * Status: not resolved