-
Search Results
-
Topic: Email Template
To whom it may concern.
Two questions concerning the Email-Lock Option
1. is it possible to customize the appearance of the email with the download link sent to the user? It should have the CI of our company…
2. is it possible to define multiple recipients (in our case a second recipient) for this mail ? We need to send a copy of this email to an internal user.Hello,
We started logging hundreds of the PHP Warning: Division by zero… imediately after updating the Download Manager Pro plugin to v6.0.4. I cleared the OpCache and the firewall cache after the upgrade but the proble persists. I also installed the WPDM – Extended Short-codes plugin in the hope that the error in the Shortcodes.php file would just go away. It did not.
In the first error message, the error is triggered because the variable $items_per_page is zero. I see that this is a parameter in the function call and the default is 20. I added three lines of code just above line 239 to test $items_per_page and to set it to the default (20) if it was zero. This appears to have quieted both of the divide by zero errors.
Please let me know what steps I should take to correct this issue without patching the plugin source.
[Mon Jul 19 15:27:15.387366 2021] [php7:warn] [pid 2413338] [client x.x.x.x:0] PHP Warning: Division by zero in /var/
www/site/wp-content/plugins/download-manager/src/Package/Shortcodes.php on line 239$query->post_status('publish'); $query->process(); $total = $query->count; $packages = $query->packages(); // Temp workaround for PHP Divide by zero if ($items_per_page == 0) { $items_per_page = 20; } =► $pages = ceil($total / $items_per_page); $page = isset($_GET['cp']) ? (int)$_GET['cp'] : 1; $start = ($page - 1) * $items_per_page;[Mon Jul 19 15:27:15.683864 2021] [php7:warn] [pid 2413338] [client x.x.x.x:0] PHP Warning: Division by zero in /var/
www/site/wp-content/plugins/download-manager/src/wpdm-functions.php on line 1285function wpdm_paginate_links($total, $items_per_page, $current_page = 1, $var = 'cp', $params = array()) { =► $pages = ceil($total / $items_per_page); $format = isset($params['format']) ? $params['format'] : "?{$var}=%#%"; [ ... ]Topic: 500 Errors on website
Hello,
We are using the latest version of WP Download Manager and WordPress. We get the following HTTP 500 error on our site on pages with WPDM:Fatal error: Uncaught Error: Call to undefined method WPDM\Package\PackageLocks::AskEmail() in /www/wp-content/plugins/download-manager/src/Package/PackageController.php:1030 Stack trace: #0 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(274): WPDM\Package\PackageController::activeLocks(5375, Array) #1 /www/wp-content/plugins/download-manager/src/Package/PackageController.php(1442): WPDM\Package\PackageController->prepare(5375, ‘link-template-d…’, ‘link’) #2 /www/wp-content/plugins/download-manager/src/Package/Shortcodes.php(62): WPDM\Package\PackageController->fetchTemplate(‘link-template-d…’, Array, ‘link’) #3 /wordpress/wp-includes/shortcodes.php(343): WPDM\Package\Shortcodes->singlePackage(Array, ”, ‘wpdm_package’) #4 [internal function]: do_shortcode_tag(Array) #5 /wordpress/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(wpdm_p…’, ‘do_shortcode_ta…’, ‘
Here are links to the pages:
https://www.hpdarch.com/firm-profile/speaking-engagements/
https://www.hpdarch.com/download/presentation-topics-for-realtors/Please assist in troubleshooting this.
Hi
Following the update to 6.0.4 this morning my links that open a file download in a pop-up have stopped working.
It seems to be causing a Jquery 500 error.
Any ideas why or how to solve this?
I will send you a link to check it in a private message
i wanted to hide that user manual I don’t wan to let people see it. especially the public.
Customers will be given a direct link to download the user manual. Audience who are not selected to see will not see this file in the download manager is there a way to hide it?Yesterday, 07/15/21, my archive page for my download center completely stopped working on the website and just shows the code. This is the code that I’ve been using since I purchased this plugin. I’ve tried updating it to the codes listed on your website, but none seem to be working. What can I do to fix this to get my downloads live again?
[wpdm-archive button_style=”inverse” link_template=”default” order_by=”post_title” order=”asc” items_per_page=”9″ cat_view=”compact” cols=1]
Hi good people 🙂
After doing the latest update, I have encountered an error when viewing the page where the downloads are.
I am using this as a download link
[wpdm_package id='1895' template='link-template-default-old']Error:
Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402 Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in /homepages/13/websiteid/htdocs/website/wp-includes/wp-db.php on line 3402If you need additional information, I am more than happy to help in order to resolve this.

