And now I’m getting this error when I make the link the way you suggested on this post (http://anywherechurch.org/2018/03/18/test-post/)
Fatal error: Uncaught Error: Class ‘WPDM_Stats’ not found in /home/anywhe06/public_html/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:392 Stack trace: #0 /home/anywhe06/public_html/wp-includes/class-wp-hook.php(286): WPDM_AmazonS3->Download(Array) #1 /home/anywhe06/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/anywhe06/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/anywhe06/public_html/wp-content/plugins/download-manager/wpdm-start-download.php(12): do_action(‘wpdm_onstart_do…’, Array) #4 /home/anywhe06/public_html/wp-content/plugins/download-manager/libs/class.Apply.php(417): include(‘/home/anywhe06/…’) #5 /home/anywhe06/public_html/wp-includes/class-wp-hook.php(286): WPDM\libs\Apply->triggerDownload(”) #6 /home/anywhe06/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #7 /home/anywhe06/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #8 /home/anywhe06/public_html/wp-settings.php(450) in /home/anywhe06/public_html/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php on line 392
When I go to the addons, I get the following error.
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/download-manager/admin/tpls/addons-list.php on line 242
Also when going to settings and clicking on update I get the following error:
Fatal error: Uncaught Error: Call to undefined function WPDM\admin\menus\dd() in /wp-content/plugins/download-manager/admin/menus/class.Settings.php:255 Stack trace: #0 /wp-content/plugins/download-manager/admin/tpls/settings.php(25): WPDM\admin\menus\Settings->pluginUpdate() #1 /wp-content/plugins/download-manager/admin/menus/class.Settings.php(37): include(‘…’) #2 /wp-includes/class-wp-hook.php(286): WPDM\admin\menus\Settings->UI(”) #3 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /wp-admin/admin.php(224): do_action(‘wpdmpro_page_se…’) #6 /wp-admin/edit.php(10): require_once(‘/home/thepo924/…’) #7 {main} thrown in /wp-content/plugins/download-manager/admin/menus/class.Settings.php on line 255
Please help.
This reply has been marked as private.
This reply has been marked as private.
Here foloows the error sent by WPDM when I click on SETTINGS > UPDATES > CHECK OR UPDATES
Fatal error: Uncaught Error: Call to undefined function WPDM\admin\menus\dd() in C:\wamp64\www\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php:255 Stack trace: #0 C:\wamp64\www\eletrobrasrondonia\wp-content\plugins\download-manager\admin\tpls\settings.php(25): WPDM\admin\menus\Settings->pluginUpdate() #1 C:\wamp64\www\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php(37): include(‘C:\\wamp64\\www\\e…’) #2 C:\wamp64\www\eletrobrasrondonia\wp-includes\class-wp-hook.php(286): WPDM\admin\menus\Settings->UI(”) #3 C:\wamp64\www\eletrobrasrondonia\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 C:\wamp64\www\eletrobrasrondonia\wp-includes\plugin.php(453): WP_Hook->do_action(Array) #5 C:\wamp64\www\eletrobrasrondonia\wp-admin\admin.php(224): do_action(‘wpdmpro_page_se…’) #6 C:\wamp64\www\eletrobrasrondonia\wp-admin\edit.php(10): require_once(‘C:\\wamp64\\www\\e…’) #7 {main} thrown in C:\wamp64\www\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php on line 255
my problem with PDF Stamper v1.9 in combination with Download Manager v 2.9.69 that causes this error when trying to download a stamepd file:
Fatal error: Class ‘WPDM_Stats’ not found in /var/www/web28672525/html/www.felusch.de/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php on line 112
Workaround:
download the php file: wpdm-pdf-stampers.php
from the directory: wp-content/plugins/wpdm-pdf-stamper
and change the code in line 112 from: $log = new WPDM_Stats();
to: $log = new \WPDM\libs\DownloadStats();
save and replace the .php file on your server
good luck and I am not responsible for any trouble 🙂
…just want to share the solution with you!
Thank you for your help!
I have just seen, that the add on section is giving also an error message maybe this is related to the probelm I have maybe not
just want to let you know
This is at Downloads -> Add Ons
Warning: Invalid argument supplied for foreach() in /var/www/web28672525/html/www.felusch.de/wp-content/plugins/download-manager/admin/tpls/addons-list.php on line 237
….the fatal error is a bit urgent because my customers wait for their download
Thank you for your fast reply,
and no, I don’t really wanna hardcode the allow access roles, I just want to add “editor” and “administrator” to the allow access roles for a file in PHP runtime, when “subscriber” is allowed to download that file. The reason is that from the hierarchical point of view, editors and administrators are allowed to do all things, a subscriber is allowed to do and we don’t wanna add all three roles (“subscriber”, “editor” and “administrator”) for each of our files.
Besides there is the apply_filter(‘wpdm_allowed_roles’, $id, $roles) command in WPDM\Pakage::AllowedRoles($id), line 306, which would be a really great solution for adding allowed access roles, based on the existing allowed access roles and perhaps other conditions 😉 But adding a “wpdm_allowed_roles” filter, using the WordPress built-in add_filter() function regretfully ends in a fatal error. 🙁
Thanks and best regards
Michael
Hello
i get this error when i try to update purchased add-on:
Fatal error: Call to undefined function WPDM\admin\menus\dd() in /home/alisys/public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php on line 255
This error appear when i press “check for updates” button. Free add-on update works great!
Thanks
I just bought the pro version but I cannot activate the plugin. It looks as if the googleconnect.php is the trigger.
Error received when I try and activate it.
Parse error: syntax error, unexpected ‘[‘ in /home/content/97/4588697/html/art54test/wp-content/plugins/download-manager/libs/socialconnect/googleconnect.php on line 166
PHP Version 7.0.22-0ubuntu0.16.04.1
The error reported by Apache is:
[Mon Feb 19 15:21:22.506436 2018] [:error] [pid 5115] [client 83.219.211.214:60364] PHP Fatal error: Uncaught Error: Cannot access property started with ‘\\0’ in /var/www/dev.domain/wp-content/plugins/download-manager/libs/class.Package.php:267\nStack trace:\n#0 /var/www/dev.domain/wp-content/plugins/download-manager/libs/class.Package.php(1174): WPDM\\Package->Prepare(1450, ‘<!– WPDM Templ…’, ‘page’)\n#1 /var/www/dev.domain/wp-content/plugins/download-manager/wpdm-functions.php(1289): WPDM\\Package::fetchTemplate(‘<!– WPDM Templ…’, Array, ‘page’)\n#2 /var/www/dev.domain/wp-content/plugins/download-manager/wpdm-functions.php(572): wpdm_fetch_template(‘page-template-m…’, 1450, ‘page’)\n#3 /var/www/dev.domain/wp-includes/class-wp-hook.php(286): wpdm_downloadable(‘<div class=”pag…’)\n#4 /var/www/dev.domain/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<div class=”pag…’, Array)\n#5 /var/www/dev.domain/wp-content/plugins/timber-library/lib/Post.php(1015): apply_filters(‘the_content’, ‘<div class=”pag…’)\n#6 /var/www/dev.domain/wp-content/plugins/timber-library/lib/Post.php(1027): Timber\\Post->co in /var/www/dev.domain/wp-content/plugins/download-manager/libs/class.Package.php on line 267, referer: https://dev.domain.tld/dokument/
working now, thanks.
but now, when I try to check for updates, this error occurs:
Fatal error: Uncaught Error: Call to undefined function WPDM\admin\menus\dd() in C:\xampp\htdocs\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php:255 Stack trace: #0 C:\xampp\htdocs\eletrobrasrondonia\wp-content\plugins\download-manager\admin\tpls\settings.php(25): WPDM\admin\menus\Settings->pluginUpdate() #1 C:\xampp\htdocs\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php(37): include(‘C:\\xampp\\htdocs…’) #2 C:\xampp\htdocs\eletrobrasrondonia\wp-includes\class-wp-hook.php(286): WPDM\admin\menus\Settings->UI(”) #3 C:\xampp\htdocs\eletrobrasrondonia\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 C:\xampp\htdocs\eletrobrasrondonia\wp-includes\plugin.php(453): WP_Hook->do_action(Array) #5 C:\xampp\htdocs\eletrobrasrondonia\wp-admin\admin.php(224): do_action(‘wpdmpro_page_se…’) #6 C:\xampp\htdocs\eletrobrasrondonia\wp-admin\edit.php(10): require_once(‘C:\\xampp\\htdocs…’) #7 {main} thrown in C:\xampp\htdocs\eletrobrasrondonia\wp-content\plugins\download-manager\admin\menus\class.Settings.php on line 255
Actually the main error was that (my?) excel save csv as “;” separated value, saving using libreoffice, the csv is a real csv…
But, even if the import works, I still have some error, the first is that the imported package is without the title (see attachment)
The result is this error:
Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 36864 bytes) in /home/mydomain/public_html/mysubdomain/wp-content/plugins/download-manager/libs/class.FileSystem.php on line 246
The second error is that I uploaded all pdf file I need in a folder, /mysite/file but when I click download it does nothing.
Thanks
Hi
I fixed both those issues so thank you.
Today I just purchased your DEFAULT VALUES ADD ON but it doesn’t work via the frontend and I really need it to please?
If it is supposed to work please can you check it via the secure login I already sent you as really trying to finish this site today
Ive also noticed in wp-admin Downloads > Settings > Updates I get a php fatal error if I try to click that check for updates button
Please check for that for me too
EDIT – just tried that UPDATE ALL button in teh default values to see if it would apply templates and who can have access to all packages and the templates worked but on both test packages they are now empty in the allow access to! so it has removed all user groups/roles from that field? please check.
Thank you
Hi,
Just bought the Pro version and followed instructions from here, https://www.wpdownloadmanager.com/support/topic/updating-to-pro-version-from-free/
1. Download latest version of WordPress Download Manager Pro from the same location in orders page.
2. Unzip the package
3. Upload files to /wp-content/plugins/download-manager/ using ftp
4. login to wp admin
5. deactivate download manager
6. re-activate download manager
After uploading all files via FTP I just get Parse error: syntax error, unexpected T_STRING in /wp-content/plugins/download-manager/download-manager.php on line 12
Referring to “namespace WPDM;”
I had to rename the plugin folder to deactivate plugin. Then rename folder back again and trying to activate from WP-admin, same issue, plugin can’t be activated due to fatal error. As I can’t activate it, there is nowhere to add the license key either.
Trying to upgrade from free version 2.7.95 which has been used for few years, so don’t want to mess up current files or stats either.
El plugin no ha podido activarse porque ha provocado un error fatal.
Parse error: syntax error, unexpected ‘[‘ in /home/u725078359/public_html/wp-content/plugins/download-manager/libs/socialconnect/googleconnect.php on line 166
PHP 5.6.30
Wordpress core 4.9.1
This is the full error output by WP_DEBUG
Fatal error: Call to undefined method APCu_Object_Cache::incr2() in /wp-content/object-cache.php on line 242
Thank you
Your plugin is causing a 500 error on our website running WordPress core 4.9.1 : Fatal error: Call to undefined method APCu_Object_Cache::incr2() in /wp-content/object-cache.php on line 242
Disabling the object cache fixes the problem but is not a good solution. Please advise.
For the fatal error, I used explode() instead of Split() as it removed since PHP 7.0.0
Refer – http://php.net/manual/en/function.split.php
Could you add this fix your release of WpProMembership plugin? I have updated the plugin on my end for now.
Let me know if you are able to replicate the 1st Notices issue at your end.
Some Fatal error also.
Note: This on the initial stage i.e after activating the plugin and using it for the first time on the site.
When we activate the CSV Importer add-on with the Mailchimp Widget plugin (https://wordpress.org/plugins/mailchimp-widget/) we get a 500 error and the log message is as follows:
PHP Fatal error: Class ‘NS_Widget_MailChimp’ not found in /Users/juliathompson/Repositories/wp-includes/class-wp-widget-factory.php on line 106
If we don’t have the CSV Importer add-on activated, the error does not occur so there is no conflict with the other download manager plugins.
Hi Blakemiller,
I have the same problem. The AddOn is causing following error:
PHP Fatal error: Uncaught Error: Call to undefined function dd() in /home/wp/disk/wordpress/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:97
Can you please have a look in your error log an see if it is the same error in your case?
Thanx!
Manuel
Here is the complete error log, now on our live server with PHP 7.
thrown in /home/wp/disk/wordpress/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php on line 97″ while reading response header from upstream, client: 178.9.245.252, server: http://www.lemonbeat.com, request: “GET /wp-admin/admin-ajax.php?action=exploreBucket&bucket=lb-download HTTP/2.0”, upstream: “fastcgi://unix:/var/run/wordpress.php-fpm.sock:”, host: “www.lemonbeat.com”, referrer: “https://www.lemonbeat.com/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-aws”
#4 {main}
#3 /home/wp/disk/wordpress/wp-admin/admin-ajax.php(97): do_action(‘wp_ajax_explore…’)
#2 /home/wp/disk/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#1 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#0 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(286): awsExplorer->exploreBucket(”)
Stack trace:
2017/11/29 09:12:58 [error] 22900#22900: *57949 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function dd() in /home/wp/disk/wordpress/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:97
thrown in /home/wp/disk/wordpress/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php on line 97” while reading response header from upstream, client: 178.9.245.252, server: http://www.lemonbeat.com, request: “GET /wp-admin/admin-ajax.php?action=exploreBucket&bucket=lb-download HTTP/2.0”, upstream: “fastcgi://unix:/var/run/wordpress.php-fpm.sock:”, host: “www.lemonbeat.com”, referrer: “https://www.lemonbeat.com/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-aws”
#4 {main}
#3 /home/wp/disk/wordpress/wp-admin/admin-ajax.php(97): do_action(‘wp_ajax_explore…’)
#2 /home/wp/disk/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#1 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#0 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(286): awsExplorer->exploreBucket(”)
Stack trace:
2017/11/29 09:12:46 [error] 22900#22900: *57949 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function dd() in /home/wp/disk/wordpress/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php:97
Hi there!
We just bought WPDM with Amazon S3 AddOn. After installation the AddOn is causing following PHP error:
PHP Fatal error: Call to undefined function dd() in /var/www/html/wp-content/plugins/wpdm-amazon-s3/wpdm-amazon-s3.php on line 97
Any ideas?
Best regards, greetz from Germany
Manuel
Hi there. I am having some difficulty with this plugin. We have about 200 files we’ve been able to store, but just today I have noticed that the All Packages window shows nothing where a list of posts ought to be. The black admin bar across the left shows, as does the header and footer.
The debug.log shows the following errors:
[22-Nov-2017 20:45:56 UTC] PHP Warning: array_keys() expects parameter 1 to be array, null given in /var/www/html/wp-content/plugins/download-manager/wpdm-functions.php on line 1603
[22-Nov-2017 20:45:56 UTC] PHP Warning: array_flip() expects parameter 1 to be array, null given in /var/www/html/wp-content/plugins/download-manager/wpdm-functions.php on line 1603
[22-Nov-2017 20:45:56 UTC] PHP Warning: array_slice() expects parameter 1 to be array, null given in /var/www/html/wp-content/plugins/download-manager/wpdm-functions.php on line 1611
[22-Nov-2017 20:45:56 UTC] PHP Fatal error: Uncaught Error: Unsupported operand types in /var/www/html/wp-content/plugins/download-manager/wpdm-functions.php:1612
Stack trace:
#0 /var/www/html/wp-content/plugins/download-manager/admin/menus/class.Packages.php(164): wpdm_array_splice_assoc(NULL, 1, 0, Array)
#1 /var/www/html/wp-includes/class-wp-hook.php(286): WPDM\admin\menus\Packages->columnsTH(NULL)
#2 /var/www/html/wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(608): apply_filters(‘manage_wpdmpro_…’, NULL)
#4 /var/www/html/wp-includes/class-wp-hook.php(286): WP_Posts_List_Table->get_columns(Array)
#5 /var/www/html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#6 /var/www/html/wp-admin/includes/screen.php(39): apply_filters(‘manage_edit-wpd…’, Array)
#7 /var/www/html/wp-admin/includes/class-wp-screen.php(894): get_column_headers(Object(WP_Screen))
#8 /var/www/html/wp-admin/includes/class-wp-screen.php(859): WP_Screen->show_screen_options()
#9 /v in /var/www/html/wp-content/plugins/download-manager/wpdm-functions.php on line 1612
Please advise.
Thank you.