WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Getting fatal Error for all downloads (6 posts)

  1. Manish
    Member
    Posted 3 years ago #

    For the past few days, I am getting the following fatal error warning for all my downloads:

    Fatal error: Cannot redeclare wp_dlm_get_custom_format() (previously declared in /home/content/72/6133572/html/wp-content/plugins/download-monitor/functions.inc.php:40) in /home/content/72/6133572/html/wp-content/plugins/download-monitor/functions.inc.php on line 45

    I tried every thing: resaved the permalinks, etc, but the error doesn't go. Plase guide.

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

  2. jrcue
    Member
    Posted 3 years ago #

    I'm seeing the same error. I've tried the permalinks and such as well. Anybody have any ideas?

  3. jrcue
    Member
    Posted 3 years ago #

    Does the WPDM plugin function properly on BuddyPress?

  4. etruel
    Member
    Posted 3 years ago #

    Hi, I have the same error.
    I'm seeing in the code of functions.inc.php

    the lines 40 to 46 (note the name of the functions that begun with same chars

    function wp_dlm_get_custom_format($id) {
        global $download_formats_array;
        $format = '';
        $format = $download_formats_array[$id];
        return $format->format;
    }
    
    function wp_dlm_get_custom_format_by_name($name) {

    may be some setting or what can I do?

  5. etruel
    Member
    Posted 3 years ago #

    I try to change the name of the function "wp_dlm_get_custom_format" in all files (4) and getting the same error:

    Fatal error: Cannot redeclare wp_xxxxxxx() (previously declared in /xxx...xxx/wp-content/plugins/download-monitor/functions.inc.php:40) in //xxx...xxx/wp-content/plugins/download-monitor/functions.inc.php on line 45

  6. etruel
    Member
    Posted 3 years ago #

    anybody? :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic