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/
I'm seeing the same error. I've tried the permalinks and such as well. Anybody have any ideas?
Does the WPDM plugin function properly on BuddyPress?
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?
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