• Resolved hatchbackcreative

    (@hatchbackcreative)


    Hi, there seems to be a conflict issue with the latest version of this plugin. When I updated the plugin, on pages with download monitor shortcodes, I lost all text and the WP admin bar at the top. When I deactivated the plugin, everything returned to normal, but the shortcodes obviously didn’t work. With Download Monitor activated, I deactivated other plugins to find a conflict, but this didn’t resolve the issue. I pulled a site backup and installed the older version of Download Monitor and everything worked fine again. Is this something you could investigate further? Thanks

    https://www.ads-software.com/plugins/download-monitor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    What version did you revert to that doesn’t cause your website to break? Also, to rule out that there is a plugin or theme conflict on your website. Could you please try if the error still occurs with only this plugin activated with a default WordPress theme (e.g. twentyfifteen). I understand this can be a bit of a hassle but it’s the only way we can be sure it’s a bug in this plugin.

    Kind Regards,
    Barry Kooij

    I just met the problem: after some tests, I noticed that templates have dramatically changed in code. So if you use a custom template, you have to rebuild it completely based on default template. This should be a hudge warning – people are saying that the plugin is broken and it’s not broken. The templates structure has changed.

    Old structre begins with

    global $dlm_download, $download_monitor;
    ?>
    <?php echo wpautop( $dlm_download->post->post_content ); ?>

    New structure begins with

    if ( ! defined( 'ABSPATH' ) ) {
    	exit;

    This should be pinned.

    Hey Li-An,

    You’re right, we removed the global $dlm_download from the template files a long time ago but due a shortcode change we did in the last release this could mess up some older template files. You can read how to fix it here: https://www.ads-software.com/support/topic/custom-templates-from-theme-important-info

    You can fix your template files by removing the global $dlm_download from the top of your template files.

    Sorry about the trouble.

    Kind Regards,
    Barry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with latest version’ is closed to new replies.