-
Search Results
-
We’re using form lock to lock downloads with a Gravity form.
The form loads and you can submit it just fine.
If “email download” is not selected, nothing happens. No download it just sits there.
When we set the form to email the person the file it sends an email with a link which does arrive – the link when clicked on loads the website and causes a PHP error on the site so we just see the “There has been a critical error on your website.” message. Here’s the PHP error from the server logs.
2020/09/16 02:22:45 [error] 41147#41147: *139327 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /www/susaguhlrealestate_654/public/wp-content/plugins/download-manager/libs/class.Apply.php:1294
Stack trace:
#0 /www/susaguhlrealestate_654/public/wp-includes/class-wp-hook.php(287): WPDM\libs\Apply->customDownloadLinkPage(Object(WP))
#1 /www/susaguhlrealestate_654/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /www/susaguhlrealestate_654/public/wp-includes/plugin.php(544): WP_Hook->do_action(Array)
#3 /www/susaguhlrealestate_654/public/wp-includes/class-wp.php(758): do_action_ref_array(‘wp’, Array)
#4 /www/susaguhlrealestate_654/public/wp-includes/functions.php(1285): WP->main(”)
#5 /www/susaguhlrealestate_654/public/wp-blog-header.php(16): wp()
#6 /www/susaguhlrealestate_654/public/index.php(17): require(‘/www/susaguhlre…’)
#7 {main}
thrown in /www/susaguhlrealestate_654/public/wp-content/plugins/download-manager/libs/class.Apply.php on line 1294″ while reading response header from upstream, client: 203.118.137.168, server: http://www.susaguhl.co.nz, request: “GET /wpdm-download/S1kWGKXM5c4KXC-65CCNNcc4hzZeN7Ap4ngsf3V69u6an7CcMiebnF8fHobVJIXyOnK-42MK834CU9-0hPOEOgBf2cM1D4hVnyLP3p7ymZEHgLWIwLRJ9ZJ-AOq8Fh4Q HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-susaguhlrealestate.sock:”, host: “www.susaguhl.co.nz”If we leave the email file off then we don’t get to the download at all, we just end up back at the page the download is on??
Help would be much appreciated
Okay a number of issues here – I am using version 5.2.3. Download button/link won’t work and when it does it goes to our 404 page. The update and install under settings stop working and shows things that should be installed needing to be install. When I do install them it just doesn’t work. The update page now shows all active and below that shows the same as being expired. Most of all the Director Add on stop working. The site is northwestenvironmentaladvocates.org
Thank you
EugeneHi – today I updated to 5.2.3, and all [download_link] references in my templates are no longer working. Instead of downloading the file, they redirect to the page with “#” at the end of the link.
I have also updated the extended short-codes add-on to 2.8.6, but still not working.
I have this issue on two websites.
Any help is appreciated.
I am really just trying to create a simple list of categorized files to direct download to authorized users. However logged in users are being prompted to login using the [download_link]. When left as [page_link] it loads a second (unnecessary page) where the user is allowed to download the file.

Custom link template:
[title][description] <div class="link-template-default card mb-2"> <div class="card-body"> <div class="media"> <div class="mr-3 img-48">[icon]</div> <div class="media-body"> <h3 class="package-title">[download_link]</h3> <div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div> </div> <div class="ml-3"> </div> </div> </div> </div>Any help is greatly appreicated


