I have installed the pro version of Download Manager and when I try to activate it I get this message:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /homepages/18/d257694814/htdocs/licensedsolutions/wp-content/plugins/download-manager/wpdm-functions.php on line 997
Hello,
I originally ran into this issue using the free plugin, but never got a final response in my support ticket . I upgraded to Pro hoping that would solve the issue, but unfortunately it didn’t.
We’re running into an issue with a 900MB file on our WPDM installation. When using the WPDM link to download the file, the file stops at 500MB and appears to have finished, even though the file is actually 900MB.
Just to clarify, this is an issue with downloads, not an upload limit issue
We’ve tried adjusting the Download Speed (currently 20480), Resumable Downloads, and Output Buffering settings but have not been able to resolve the issue. When disabling both the Output Buffering and Resumable Downloads options, the WPDM download link gives us an error:
[18-Aug-2020 19:41:26 UTC] PHP Fatal error: Out of memory (allocated 8388608) (tried to allocate 944402432 bytes) in /xxxx/xxxx/public_html/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 125
We have adjusted the server settings to increase the memory limit up to 6GB using both PHP INI settings and wp-config.php directives, but continue to receive the memory allocation error. We were also able to download the file successfully in the browser when placing it in another directory and accessing that URL directly. This leads us to believe there might be something specific to the WPDM plugin that is causing the issue.
Please let us know if there is anything you can do to help.
Thanks,
Morgan
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
Further errors….
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in /home/[site]/public_html/wp-admin/includes/deprecated.php on line 663
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0
-
This reply was modified 4 years, 8 months ago by
Matthew Perry. Reason: previously incorrect information - now removed and replaced
Thanks…
Here is the error:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/<site>/public_html/wp-admin/includes/media.php on line 1759
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Thanks.
I was able to solve the Error:
“Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPDMPP\WPDMPremiumPackage::hide_single_file_download_link(), 3 passed in /var/www/vhosts/foroeconomiacircular.com/httpdocs/wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in”
updating wpdm-premium-packages 3.9.1 to 4.6.5
Regards
This reply has been marked as private.
This reply has been marked as private.
I am still getting the error when I visit the plugin update page (https://mysite/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=plugin-update.
Hi! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Download Manager. First, visit your website and check for any visible issues. Next, visit the page where the error was caught (https://mysite/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=plugin-update) and check for any visible issues. Please contact your host for assistance with investigating this issue further. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.5.1 Current theme: CharityFoundation Child (version 1.8) Current plugin: Download Manager (version 3.1.08) PHP version 7.4.9 Error Details ============= An error of type E_ERROR was caused in line 307 of the file /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php. Error message: Uncaught Error: Call to undefined function WPDM\admin\menus\remote_get() in /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php:307 Stack trace: #0 /public_html/wp-content/plugins/download-manager/admin/tpls/settings.php(33): WPDM\admin\menus\Settings->pluginUpdate() #1 /public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php(41): include(‘/…’) #2 /public_html/wp-includes/class-wp-hook.php(287): WPDM\admin\menus\Settings->UI(”) #3 /public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /public_html/wp-admin/admin.php(259): do_action(‘wpdmpro_page_se…’) #6 /public_html/wp-admin/edit.php(10): require_once(‘/…’) #7 {main} thrown
I am brand new and already finding this plugin to be very buggy. I am hoping for this to work badly.
I have a free book for those that attended a webinar. They are given a password to use and when they put in the password and hit submit, it takes them to the download or downloads the book right away. They do not have to put in their name and email which defeats the point. If I take off the password then they have to enter the name and email and hit submit in order to get their free book, but I don’t want this book open to anyone who finds this site. I need it password protected. Can you help?
Part 2
If I take off the password and they enter their name and email, I get their details under subscriber, but I also get this error “Fatal error: Uncaught Error: Call to undefined function wp_date() in /home/theprosperity/public_html/wp-content/plugins/download-manager/admin/tpls/subscribers/email.php:69 Stack trace: #0 /home/theprosperity/public_html/wp-content/plugins/download-manager/admin/tpls/subscribers.php(35): include() #1 /home/theprosperity/public_html/wp-content/plugins/download-manager/admin/menus/class.Subscribers.php(43): include(‘/home/theprospe…’) #2 /home/theprosperity/public_html/wp-content/plugins/download-manager/admin/menus/class.Subscribers.php(38): WPDM\admin\menus\Subscribers::emails() #3 /home/theprosperity/public_html/wp-includes/class-wp-hook.php(286): WPDM\admin\menus\Subscribers->UI(”) #4 /home/theprosperity/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #5 /home/theprosperity/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/theprosperity/public_html/wp-admin/admin.php(224): do_action(‘wpdmpro_page_wp…’) #7 /home/theprosperity/public_html/wp-admin/edit.php(1 in /home/theprosperity/public_html/wp-content/plugins/download-manager/admin/tpls/subscribers/email.php on line 69″
Guys, i am trying to get in touch with you guys for the last 3 days now!!! my website is down because of the Plugin update you made!!!!
Riddhi is not replying. The website is DOWN for godsake!!!!! This is what we are getting after your update – site – https://staging2.readyinfographics.com/#
Fatal error: Uncaught Error: Class ‘Stripe\StripeClient’ not found in /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/Stripe/StripePaymentSystem.php:121 Stack trace: #0 /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/Stripe/StripePaymentSystem.php(74): WPDM\WPPM\Payment\Stripe\StripePaymentSystem->initClient() #1 /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/Stripe/StripePaymentSystem.php(60): WPDM\WPPM\Payment\Stripe\StripePaymentSystem->__construct() #2 /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php(106): WPDM\WPPM\Payment\Stripe\StripePaymentSystem::getInstance() #3 /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/PaymentSystemManager.php(59): WPDM\WPPM\Payment\PaymentSystemManager->init() #4 in /home/customer/www/staging2.readyinfographics.com/public_html/wp-content/plugins/wppromembership/src/Payment/Stripe/StripePaymentSystem.php on line 121
This reply has been marked as private.
I’m having issues on my site after updating Download manager! No one can login. etc. Im needing assistance ASAP please!
[02-Sep-2020 17:33:28 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-content/plugins/download-manager/libs/class.Apply.php:417 Stack trace: #0 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-includes/class-wp-hook.php(287): WPDM\libs\Apply->login(”) #1 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-settings.php(546): do_action(‘init’) #4 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-config.php(85): require_once(‘/chroot/home/ae…’) #5 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-load.php(37): require_once(‘/chroot/home/ae…’) #6 /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-blog-header.php(13): require_once(‘/chroot/home/ae…’) #7 /chroot/home/aea9bda2/market in /chroot/home/aea9bda2/marketing.sswhitedental.com/html/wp-content/plugins/download-manager/libs/class.Apply.php on line 417
This reply has been marked as private.
This reply has been marked as private.
Our site crashed yesterday to the WP 5.5 debug mode after encountering an error in Download Manager. I was able to restore the site by deactivating Download Manager. I installed the Enable jQuery Migrate Helper that was suggested in the following article.
Helpdesk Article
I understand that WP has a fix for the problem that will be released on 9/2/2020. Here is the text of the diagnostic email if it is helpful.
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Download Manager.
First, visit your website (https://irch.com/) and check for any visible issues. Next, visit the page where the error was caught (https://irch.com/wp-login.php) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5
Current theme: Divi Child (version 1.0.0)
Current plugin: Download Manager (version 5.1.20)
PHP version 7.2.33
Error Details
=============
An error of type E_ERROR was caused in line 11 of the file /home1/spsfptmy/public_html/wp-content/plugins/download-manager/admin/class.WordPressDownloadManagerAdmin.php. Error message: Uncaught Error: Class ‘WPDM\admin\menus\Packages’ not found in /home1/spsfptmy/public_html/wp-content/plugins/download-manager/admin/class.WordPressDownloadManagerAdmin.php:11
Stack trace:
#0 /home1/spsfptmy/public_html/wp-content/plugins/download-manager/download-manager.php(154): WPDM\admin\WordPressDownloadManagerAdmin->__construct()
#1 /home1/spsfptmy/public_html/wp-content/plugins/download-manager/download-manager.php(115): WPDM\WordPressDownloadManager->__construct()
#2 /xxx/wp-content/plugins/download-manager/download-manager.php(578): WPDM\WordPressDownloadManager::instance()
#3 /xxx/wp-settings.php(377): include_once(‘/home1/spsfptmy…’)
#4 /xxx/wp-config.php(86): require_once(‘/home1/spsfptmy…’)
#5 /xxx/wp-load.php(37): require_once(‘/home1/spsfptmy…’)
#6 /xxx/wp-login.php(12): require(‘/home1/spsfptmy…’)
#7 {main}
thrown
Please respond when convenient. Thank you and have a good day.
Can someone please get back with me? I can’t even have the the download manager even active on the site as it gives this fatal error!
Fatal error: Uncaught Error: Class ‘WPDM\libs\Apply’ not found in /srv/htdocs/wp-content/plugins/download-manager/download-manager.php:132 Stack trace: #0 /srv/htdocs/wp-content/plugins/download-manager/download-manager.php(102): WPDM\WordPressDownloadManager->__construct() #1 /srv/htdocs/wp-content/plugins/download-manager/download-manager.php(493): WPDM\WordPressDownloadManager::instance() #2 /wordpress/core/5.4.2/wp-admin/includes/plugin.php(2255): include(‘/srv/htdocs/wp-…’) #3 /wordpress/core/5.4.2/wp-admin/plugins.php(177): plugin_sandbox_scrape(‘download-manage…’) #4 {main} thrown in /srv/htdocs/wp-content/plugins/download-manager/download-manager.php on line 132
I’m not sure if you are all in there working or not because the site was down and had a critical error so they had to deactivate the download plugin. The error logs were these below. Just so you know, I’m trying to find a different solution with regards the membership portion as my client is getting frustrated that this is not working. I’m hoping you can fix the error but again, you might see a different membership plugin installed. I’ve been working through a different solution so we can continue with the membership that he needs on his site. It’s been 2 months since this has had issues and he needs a viable working site!!! Now it seems that the download plugin caused this error versus the membership.
Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.
xargs: sudo: exited with status 255; aborting
creeksidecontrols.com [149190329] $ wp plugin deacitvate download-manager
Fatal error: Uncaught Error: Class ‘WPDM\libs\Apply’ not found in /srv/htdocs/wp-content/plugins/download-manager/download-manager.php:132
Stack trace:
#0 /srv/htdocs/wp-content/plugins/download-manager/download-manager.php(102): WPDM\WordPressDownloadManager->__construct()
#1 /srv/htdocs/wp-content/plugins/download-manager/download-manager.php(493): WPDM\WordPressDownloadManager::instance()
#2 /wordpress/core/5.4.2/wp-settings.php(371): include_once(‘/srv/htdocs/wp-…’)
#3 phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): require(‘/wordpress/core…’)
#4 phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1158): WP_CLI\Runner->load_wordpress()
#5 phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(23): WP_CLI\Runner->start()
#6 phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(74): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#7 phar:///usr/local/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#8 phar:///usr/local/bin/wp-cli/php/boot-phar.php(11): include(‘phar:///usr/loc…’)
#9 /usr/local/bin/wp-cli(4): include(‘phar:///usr/loc…’)
#10 {main}
thrown in /srv/htdocs/wp-content/plugins/download-manager/download-manager.php on line 132
Error: There has been a critical error on your website.Learn more about debugging in WordPress. There has been a critical error on your website.
xargs: sudo: exited with status 255; aborting
This reply has been marked as private.
This reply has been marked as private.
No one has bothered to answer any other questions that I have and I still get critical errors when trying to download anything after I updated the membership plugin to version 2.6.5.
These are the errors I get after updating:
[15-Jul-2020 13:49:32 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 347
[15-Jul-2020 13:49:34 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 347
[15-Jul-2020 13:49:37 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 347
[15-Jul-2020 13:49:38 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 148267560 bytes) in /wordpress/core/5.4.2/wp-includes/formatting.php on line 2761
These are the errors I’m getting:
[09-Jul-2020 20:57:27 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:32 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:32 UTC] PHP Notice: Undefined property: stdClass::$title_font_size in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-image-panels/includes/frontend.css.php on line 61
[09-Jul-2020 20:57:32 UTC] PHP Notice: Undefined property: stdClass::$title_font_size in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-image-panels/includes/frontend.css.php on line 76
[09-Jul-2020 20:57:34 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:37 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:38 UTC] PHP Warning: Use of undefined constant php – assumed ‘php’ (this will throw an Error in a future version of PHP) in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.css.php on line 252
[09-Jul-2020 20:57:38 UTC] PHP Warning: Use of undefined constant php – assumed ‘php’ (this will throw an Error in a future version of PHP) in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.css.php on line 254
[09-Jul-2020 20:57:38 UTC] PHP Warning: Use of undefined constant php – assumed ‘php’ (this will throw an Error in a future version of PHP) in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.css.php on line 284
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:38 UTC] PHP Deprecated: Non-static method NJBA_Tabs_Module::njbaGetItemContent() should not be called statically in /srv/htdocs/wp-content/plugins/ninja-beaver-lite-addons-for-beaver-builder/modules/njba-tabs/includes/frontend.php on line 135
[09-Jul-2020 20:57:39 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:40 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:42 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:43 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:47 UTC] PHP Warning: Invalid argument supplied for foreach() in /srv/htdocs/wp-content/plugins/wppromembership/functions.php on line 345
[09-Jul-2020 20:57:47 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 148267560 bytes) in /wordpress/core/5.4.2/wp-includes/formatting.php on line 2761
This reply has been marked as private.