Support » Plugin: WordPress Download Manager » “WordPress database error” Error After Update To v3.1.12

  • I have just updated WP Download Manager to v3.1.12 from v3.1.11 and receive the following error recorded in my WP_DEBUG log whenever a download is initiated. This did not happen with v3.1.11.

    [14-Dec-2020 21:21:42 UTC] WordPress database error Unknown column 'filename' in 'field list' for query INSERT INTOwp_swm_ahm_download_stats(pid,uid,oid,year,month,day,timestamp,ip,filename,agent,version) VALUES ('5280', '1228', '', '2020', '12', '14', '1607980902', 'x.x.x.x', 'https://server/wp-content/uploads/KSA-AGM-Agenda-2019v2.pdf', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', '') made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\libs\Apply->triggerDownload, include('/plugins/download-manager/wpdm-start-download.php'), WPDM\libs\DownloadStats->add

    Please find a step-by-step video screencast of how to recreate this issue here:!AiwD9-8HyNC59xWiVtGRgSHPlANt?e=OvoMrV

    Please help me to download items using WP Download Manager without error.


    PHP v7.3.25
    WordPress v5.6
    WP Download Manager v3.1.12

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter David Adams


    Additional Note: I have now rolled back to v3.1.11 and everything works fine again.

    Looking forward to the fix so that I keep my plugins up-to-date.


    Same here. My logs are of 20Mb daily. All with same issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.