• 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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dreamsign

    (@dreamsign)

    Still not working after latest update

    Plugin Contributor W3 Eden, Inc.

    (@w3eden)

    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/

    Thread Starter dreamsign

    (@dreamsign)

    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

    (@dreamsign)

    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

    (@dreamsign)

    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.