• Resolved ruslan.f

    (@ruslanf)


    I’m using php 5.5.
    After last updating to 2.8.6 I have
    Notice: Undefined index: password in /var/www/site.com/wp-content/plugins/download-manager/libs/class.Package.php on line 258
    on pages with file to download.
    And in settings in update section

    Notice: Undefined index: id949343686 in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php
    Notice: Undefined index: wpdmpp-sales-report in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 102
    Notice: Undefined index: details?id=com.w3eden.wpdownloadmanager in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 102
    Notice: Undefined index: wpdm_api in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 102
    Notice: Undefined index: wpdm-page-template in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 102
    Notice: Undefined index: wpdm-page-template in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 107
    Notice: Undefined index: wpdm-colorbox in /var/www/site.com/wp-content/plugins/download-manager/admin/tpls/settings/addon-update.php on line 102

    https://wordpress.org/plugins/download-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shahjada

    (@codename065)

    Sorry for your inconvenience. For now, please open /download-manager/libs/class.Package.php, replace line# 258 if ($package['password'] != '') $lock = 'locked'; with if (isset($package['password']) && $package['password'] != '') $lock = 'locked';. Also updating the file will resolve the issue. And please skip update tab until next update.

    Adjusting all those in next update.

    Thread Starter ruslan.f

    (@ruslanf)

    I fixed it another way
    if (array_key_exists('password', $package) && $package['password'] != '') $lock = 'locked';

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

The topic ‘Different "Notice: Undefined index"’ is closed to new replies.