• 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?

    https://www.ads-software.com/extend/plugins/download-manager/

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

    (@kilmanagh)

    I am getting the same thing…

    Thread Starter ylluminate

    (@gpsonet)

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

    Kilmanagh

    (@kilmanagh)

    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.

    Plugin Author Shahjada

    (@codename065)

    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.

    @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 ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"Undefined index: task in" spew into debug.log’ is closed to new replies.