“WordPress database error(S)” Error After Updating To v3.1.15
-
In my previous ticket (unanswered): https://ww.wp.xz.cn/support/topic/wordpress-database-error-error-after-update-to-v3-1-12/ I was receiving a database error recorded in my WP_DEBUG log when I tried to download a file. I have just updated to v3.1.15 and I now I receive multiple database errors when I:
-
View the download page (default template).
Download the fileI have once again reverted back to v3.1.11 and everything works fine again. I am now running four versions behind until you can fix this.
This is the error I receive when I view the download page:
[15-Mar-2021 06:30:00 UTC] WordPress database error Table 'db9z2nxutpmawh.wp_swm_ahm_user_download_counts' doesn't exist for query select download_count from wp_swm_ahm_user_download_counts WHERE user = '1228' and package_id = '5310' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/ksauk/single.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, wpdm_downloadable, FetchTemplate, WPDM\Package::fetchTemplate, WPDM\Package->prepare, WPDM\Package::userDownloadLimitExceeded, WPDM\libs\DownloadStats->userDownloadCountThis is the error I receive when download the file:
[15-Mar-2021 06:31:43 UTC] WordPress database error Table 'db9z2nxutpmawh.wp_swm_ahm_user_download_counts' doesn't exist for query select download_count from wp_swm_ahm_user_download_counts WHERE user = '1228' and package_id = '5310' 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_is_download_limit_exceed, WPDM\Package::userDownloadLimitExceeded, WPDM\libs\DownloadStats->userDownloadCount [15-Mar-2021 06:31:43 UTC] WordPress database error Unknown column 'filename' in 'field list' for query INSERT INTO <code>wp_swm_ahm_download_stats</code> (<code>pid</code>, <code>uid</code>, <code>oid</code>, <code>year</code>, <code>month</code>, <code>day</code>, <code>timestamp</code>, <code>ip</code>, <code>filename</code>, <code>agent</code>, <code>version</code>) VALUES ('5310', '1228', '', '2021', '03', '15', '1615789903', '148.252.133.58', 'https://dev.ksa-uk.net/wp/wp-content/uploads/Invoice.pdf', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 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 [15-Mar-2021 06:31:43 UTC] WordPress database error Table 'db9z2nxutpmawh.wp_swm_ahm_user_download_counts' doesn't exist for query select count(ID) from wp_swm_ahm_user_download_counts where user = '1228' and package_id = '5310' 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, WPDM\libs\DownloadStats->updateUserDownloadCount [15-Mar-2021 06:31:43 UTC] WordPress database error Table 'db9z2nxutpmawh.wp_swm_ahm_user_download_counts' doesn't exist for query SHOW FULL COLUMNS FROM <code>wp_swm_ahm_user_download_counts</code> 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, WPDM\libs\DownloadStats->updateUserDownloadCountRegards,
DavidSYSTEM DETAILS
PHP v7.3.27
WordPres v5.6
Download Manager v3.1.15
The topic ‘“WordPress database error(S)” Error After Updating To v3.1.15’ is closed to new replies.