WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Download Manager
"Undefined index: task in" spew into debug.log (6 posts)

  1. ylluminate
    Member
    Posted 1 year ago #

    Have been reviewing some issues with a blog and Download Manager is spewing forth a huge number of entries into the debug.log. I'm talking many thousands of entries an hour similar to this:

    [22-Feb-2013 17:50:38 UTC] PHP Notice:  Undefined index: task in /home/username/domain.tld/wp-content/plugins/download-manager/wpdm-server-file-browser.php on line 30
    [22-Feb-2013 17:50:38 UTC] PHP Notice:  Undefined index: task in /home/username/domain.tld/wp-content/plugins/download-manager/wpdm-server-file-browser.php on line 4
    [22-Feb-2013 17:50:39 UTC] PHP Notice:  Undefined index: task in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 308

    I'll then occasionally see some hundreds of other entries such as these pop up:

    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Undefined index: cp in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 568
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant id - assumed 'id' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 586
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant preview - assumed 'preview' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 587
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Undefined index: preview in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 587
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant icon - assumed 'icon' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 591
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant download_count - assumed 'download_count' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 598
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant END - assumed 'END' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 610
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant id - assumed 'id' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 586
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Use of undefined constant preview - assumed 'preview' in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 587
    [22-Feb-2013 17:52:52 UTC] PHP Notice:  Undefined index: preview in /home/username/domain.tld/wp-content/plugins/download-manager/download-manager.php on line 587

    Any ideas as to what may be going on here?

    http://wordpress.org/extend/plugins/download-manager/

  2. Kilmanagh
    Member
    Posted 1 year ago #

    I am getting the same thing...

  3. ylluminate
    Member
    Posted 1 year ago #

    @Kilmanagh: Have you seen any optional plugins to replace this? I'm getting concerned not seeing any reply here.

  4. Kilmanagh
    Member
    Posted 1 year ago #

    There is WP-Filebase, which works smoothly. However, the way it displays the downloads is not what I need. I need something very descriptive. They have a lot of widgets though that are pretty nice.

  5. Shaon
    Member
    Plugin Author

    Posted 1 year ago #

    we will resolve the notice issue with next update, but that's nothing major and will not generate any functional issue, you simply need to hide notice display, in most server notice display disabled by default.

  6. mcseller
    Member
    Posted 1 year ago #

    @ylluminate and @Kilmanagh, I have to use this plugin so I'm working on it.

    For now, I can help you on wpdm-server-file-browser.php errors:

    You have to add following line as first line into wpdm_dir_tree function:
    if(!array_key_exists('task',$_GET)) return; /* by M.C. - Add this Line */

    Then you have to add following line as first line into wpdm_file_browser function:
    if(!array_key_exists('task',$_GET)) return; /* by M.C. - Add this Line */

    Hope this will help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic