Hello there,
I’ve created a custom small plugin that should interact with your plugin. In one of my file, I sue this code:
namespace package_scanner\model;
use WPDM\Package;
class Post {…}
Now, since some updates on your plugin, I have a fatal error with “use WPDM\Package;”. What’s wrong? What should I change? Do I have to change other things related to this line?
Thank you,
Cedric
I hope this message finds you well. I wanted to inform you that we have successfully downloaded the plugin and uploaded it to our server. However, when we attempted to activate it, we encountered a fatal error that is preventing the plugin from activating.
Fatal error: Uncaught Error: Call to undefined function PrivateMessage\User\wp_date()
in /srv/windowswear.com/subdomains/wwstg/httpdocs/wp-content/plugins/private-message/src/User/User.php on line 34
We kindly request your assistance in resolving this issue at your earliest convenience. If you require any further information or access to our server, please do not hesitate to reach out. Your prompt attention to this matter would be highly appreciated.
Thank you for your support.
Best regards,
Hello,
I’m working on a website that uses Download Manager Pro and revisions are enabled for Download Manager post type.
The fields __wpdm_files, __wpdm_version and __wpdm_fileinfo are included to be saved in revisions.
When I publish or update a Download Manager post type, for example, there is a warning in PHP 7.4 :
Warning: trim() expects parameter 1 to be string, array given in [sitePath]/wp-includes/formatting.php on line 5365
It’s because the normalize_whitespace function expecting a string.
When I use PHP 8.1, it has become a fatal error :
Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in [sitePath]/wp-includes/formatting.php:5365 Stack trace: #0 [sitePath]/wp-includes/formatting.php(5365): trim(Array) #1 [sitePath]/wp-includes/revision.php(163): normalize_whitespace(Array)
How can I include this fields with PHP 8.1 without to patch the normalize_whitespace function ?
Thank you for your help.
David
Hello,
I received an email from our site stating there is a technical issue. It is causing a problem with our stats.
Please check the info below; I have also added a user name and password to look further.
Hello
I have installed your main plugin “Download Manager” and also purchased and installed “PDF Stamper”
I have done all the settings for the pdf stamper and created a pdf that should be downloaded for free and a time stamp on it.
When I click on the download button it generates a critical error related to the PDF Stamper plugin.
Below are the details regarding the Error.
Warning: Undefined array key “horizontal” in /public_html/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php on line 219
Warning: Undefined array key “vertical” in /public_html/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php on line 220
Fatal error: Uncaught SetaPDF_Core_Writer_Exception: Some data has already been output. PDF couldn’t be send. in /public_html/wp-content/plugins/wpdm-pdf-stamper/libs/Core/Writer/Http.php:110 Stack trace: #0 /public_html/wp-content/plugins/wpdm-pdf-stamper/libs/Core/Document.php(1715): SetaPDF_Core_Writer_Http->finish() #1 /public_html/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(328): SetaPDF_Core_Document->finish() #2 /public_html/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(121): WpdmPdfStampers->processPDF() #3 /public_html/wp-includes/class-wp-hook.php(308): WpdmPdfStampers->fileProcess() #4 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /public_html/wp-content/plugins/download-manager/src/wpdm-start-download.php(28): do_action() #7 /public_html/wp-content/plugins/download-manager/src/__/Apply.php(312): include(‘/home/u24941600…’) #8 /public_html/wp-includes/class-wp-hook.php(308): WPDM\__\Apply->triggerDownload() #9 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #10 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /public_html/wp-settings.php(623): do_action() #12 /public_html/wp-config.php(190): require_once(‘/home/u24941600…’) #13 /public_html/wp-load.php(50): require_once(‘/home/u24941600…’) #14 /public_html/wp-blog-header.php(13): require_once(‘/home/u24941600…’) #15 /public_html/index.php(17): require(‘/home/u24941600…’) #16 {main} thrown in /public_html/wp-content/plugins/wpdm-pdf-stamper/libs/Core/Writer/Http.php on line 110
Please tell me why I am getting this error.
Hello there 🙂
I hope you’re fine?
My website was running WPDM 5.3.3 without any issue. Now, I’ve tried to update to 6.3.3 but I have a fatal error that breaks the site:
PHP Fatal error: Uncaught Error: Class 'WPDM\Package' not found
This code is in one of my template file. If I comment the lines, the site is “working” again but with some missing infos (due to these commented lines).
Here are the lines:
– $data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array(
'template_type' ► 'url'
));
– $files = \WPDM\Package::getFiles($data['ID']);
I guess that this method is not available anymore. But could you tell me how I should replace my code in order to make it work again?
Kind regards,
Cedric
Hi there,
As per the email you decided not to respond to – your paid S3 plugin breaks your own WPDM plugin throwing multiple Fatal Errors.
This is just one of them:
2023/04/12 18:45:56 [error] 205001#205001: *2977278 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/Endpoint/PartitionEndpointProvider.php on line 115PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Aws\Endpoint\PartitionEndpointProvider::__construct() must be of the type array, null given, called in /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/Endpoint/PartitionEndpointProvider.php on line 101 and defined in /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/Endpoint/PartitionEndpointProvider.php:29
Stack trace:
#0 /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/Endpoint/PartitionEndpointProvider.php(101): Aws\Endpoint\PartitionEndpointProvider->__construct()
#1 /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/MultiRegionClient.php(65): Aws\Endpoint\PartitionEndpointProvider::defaultProvider()
#2 /home/xxxx/webapps/xxxx/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/sr” while reading response header from upstream, client: 114.23.164.105, server: xxxx.co.nz, request: “GET /wp-admin/admin-ajax.php?action=awsBuckets&datatype=json HTTP/2.0”, upstream: “fastcgi://unix:/var/run/xxxx.sock:”, host: “xxxx.co.nz”, referrer: “https://xxxx.co.nz/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=cloud-storage”
Bonjour,
J’ai acheté le plugin WPDM – PDF Stamper pour indiquer sur toutes les pages de mon PDF le Prénom/nom de l’acheteur ainsi que son adresse mail et son numéro de commande.
J’ai bien compris que le plugin ne fonctionnait pas avec les PDF déjà protégés par mot de passe, j’ai donc voulu faire un test en enlevant le mot de passe du PDF mais un message d’erreur est apparu au moment du téléchargement.
“Warning: Undefined array key “horizontal” in
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.phponline219
Warning: Undefined array key “vertical” in
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.phponline220
Fatal error: Uncaught SetaPDF_Core_Writer_Exception: Some data has already been output.
PDF couldn’t be send. in
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/libs/Core/Writer/Http.php:110Stacktrace:#0
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/olugins/wodm-pdf-stamper/libs/Core/Document.pho(1715):SetaPDFCoreWriterHtto-
>finish()#1/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(328):SetaPDF_Core_Document-
>finish()#2/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(121):WpdmPdfStampers-
>processPDF(/home/clients/a..’30-fiches-de-dr…’7947)#3
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-includes/class-wp-
hook.php(308):WpdmPdfStampers->fileProcess(Arrav)#4
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-includes/class-wp-
hook.php(332):WP_Hook->apply_filters(“Array)#5
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
includes/plugin.php(517):WP_Hook->do_action(Array)#6
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/download-manager/src/wpdm-start-download.php(28):
do_action(‘wpdm_onstartdo..
‘, Array) #7
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/download-manager/src/_/Apply.php(312):include(‘/home/clients/a…’)#8
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-includes/class-wp-
hook.php(308): WPDML
-Apply->triggerDownload(”)#9
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-includes/class-wp-
hook.php(332):WP_Hook->apply_filters(NULL,Array)#10
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
includes/plugin.php(517):WP_Hook->do_action(Array)#11
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-settings.php(623):
do action(‘init’)#12/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp
config.php(96): require _once (/home/clients/a…’) #13
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-load.php(50):
require_once(‘/home/clients/a…’)#14
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-blog-header.php(13):
require_once(‘/home/clients/a…’)#15
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/index.php(17):
require(‘/home/clients/a…’)#16{main}thrownin
/home/clients/a4a990222b8a3d807c8c9818fd767f12/sites/jurixio.com/wp-
content/plugins/wpdm-pdf-stamper/libs/Core/Writer/Http.phponline110
Il y a eu une erreur critique sur ce site.”
Que puis-je faire ?
MC
Hi,
In the latest version of download manager I seem to be getting an error in the shortcodes.php file as per below:
Fatal error: Uncaught Error: Division by zero
in /var/web/site/public_html/wp-content/plugins/download-manager/src/Package/Shortcodes.php on line 130
If I comment the below line out, my page works. Any reason what could be causing the issue as it seems to be getting caught up in a division by zero error.
$cwd_class = “col-lg-” . (int)(12 / __::valueof($params, ‘cols’, [‘default’ ► 3, ‘validate’ ► ‘int’]));
Thanks
I am required to upgrade my PHP from 7.4 to avoid being charged maintenance. Unfortunately, if I upgrade the PHP both “Download Manager” and “WPDM Archives” throw fatal errors. No updates show available in the control panel. Please advise. Here is the error from Download Manager:
Fatal error: Uncaught Error: Call to undefined function create_function() in /homepages/11/d447043848/htdocs/public/wp-content/plugins/download-manager/widgets/class.CatPackages.php:101 Stack trace: #0 /homepages/11/d447043848/htdocs/public/wp-content/plugins/download-manager/modules/widgets.php(7): include_once() #1 /homepages/11/d447043848/htdocs/public/wp-content/plugins/download-manager/wpdm-core.php(406): include(‘/homepages/11/d…’) #2 /homepages/11/d447043848/htdocs/public/wp-content/plugins/download-manager/download-manager.php(39): include(‘/homepages/11/d…’) #3 /homepages/11/d447043848/htdocs/public/wp-admin/includes/plugin.php(2314): include_once(‘/homepages/11/d…’) #4 /homepages/11/d447043848/htdocs/public/wp-admin/plugins.php(192): plugin_sandbox_scrape() #5 {main} thrown in /homepages/11/d447043848/htdocs/public/wp-content/plugins/download-manager/widgets/class.CatPackages.php on line 101
After the update, the settings for changing email templates no longer work. here is the error that appears when I click on “edit”
Fatal error: Uncaught Error: Using $this when not in object context in /home/customer/www/oappcfoggia.com/public_html/wp-content/plugins/download-manager/src/__/Email.php:92 Stack trace: #0 /home/customer/www/oappcfoggia.com/public_html/wp-content/plugins/download-manager/src/Admin/views/templates/email-template-editor.php(2): WPDM\__\Email::template(‘package-approve…’) #1 /home/customer/www/oappcfoggia.com/public_html/wp-content/plugins/download-manager/src/Admin/Menu/Templates.php(79): include(‘/home/customer/…’) #2 /home/customer/www/oappcfoggia.com/public_html/wp-content/plugins/download-manager/src/Admin/Menu/Templates.php(67): WPDM\Admin\Menu\Templates::emailEditor() #3 /home/customer/www/oappcfoggia.com/public_html/wp-includes/class-wp-hook.php(308): WPDM\Admin\Menu\Templates->UI(”) #4 /home/customer/www/oappcfoggia.com/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /home/customer/www/oappcfoggia.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /ho in /home/customer/www/oappcfoggia.com/public_html/wp-content/plugins/download-manager/src/__/Email.php on line 92
Hi everyone,
we are currently facing issues when installing the accordion addon.
When activating the accordion addon it triggers a fatal error in our WordPress.
I already did a troubleshooting and it did not help. I will now send you access to the system, everything besides WPDM and Oxygen is already deactivated. Please have a look. 🙂
Best, Nadine
We are also getting a Fatal Error Message on our site. We are running on WordPress (version 6.1.1) on Kinsta, PHP 8, with DIVI Theme and your plug in It is not working.
Here is the message we got this morning:
Our monitoring systems detected that your site Coastal States Organization (Live) is not available and displays the following PHP error:
2023/02/17 12:59:14 [error] 52724#52724: *431661 FastCGI sent in stderr: “PHP message: PHP Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /www/coastalstatesorganization_868/public/wp-content/plugins/download-manager/widgets/class.Search.php on line 17PHP message: PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/coastalstatesorganization_868/public/wp-includes/functions.php on line 5833PHP message: PHP Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /www/coastalstatesorganization_868/public/wp-includes/functions.php on line 5833″ while reading response header from upstream, client: 35.194.36.163, server: http://www.coastalstates.org, request: “GET /?kinsta-monitor HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-coastalstatesorganization.sock:”, host: “www.coastalstates.org:50344”
So, we deactivated the plug in and now we are unable to make it Active again since we keep getting the same error message.
Over the weekend – we installed the free version and things are ok for now. BUT we need better support since our paid version is not working.
Thanks.
Hi there,
We are getting the following error when trying to activate the plugin please can you advise? We have migrated the site over to cloud-ways and are running PHP 8.
Fatal error: Uncaught Error: Call to undefined function create_function() in /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-content/plugins/download-manager/modules/widgets.php:461 Stack trace: #0 /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-content/plugins/download-manager/wpdm-core.php(320): include() #1 /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-content/plugins/download-manager/download-manager.php(48): include(‘/home/881718.cl…’) #2 /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-admin/includes/plugin.php(2314): include_once(‘/home/881718.cl…’) #3 /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /home/881718.cloudwaysapps.com/avavhsncyq/public_html/wp-content/plugins/download-manager/modules/widgets.php on line 461
Many thanks
Hi there,
i have an error when I open my plugin page on WP admin. it couldn’t be open and shown the error as below.
https://app.screencast.com/j7EV9nOXTYB68
After that I received an email from WP saying that it was caused by the plugin named: Advanced Custom Field.
i wonder why it happened? The advanced customer field was working flawlessly for a week.
until yesterday I open plugin page trying to install some plugin and found out it was not able to access which shown the error as above.
in the email it shown an error message as below:
https://app.screencast.com/9AwOlCDEuqIqE
Howdy!
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, WPDM - Advanced Custom Fields.
First, visit your website (https://nswautomation.com/NSW/) and check for any visible issues. Next, visit the page where the error was caught (https://nswautomation.com/NSW/NSW/wp-admin/plugins.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.
https://nswautomation.com/NSW/nsw-login/?action=enter_recovery_mode&rm_token=YWwBIUeEOT2gIv0npEYWA7&rm_key=gTiSByJ3P5z4llENr2IlmC
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.9.5
Current theme: Transcargo Child Theme (version 1.0)
Current plugin: WPDM - Advanced Custom Fields (version 2.2.8)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 985 of the file /home1/nswautom/public_html/NSW/wp-content/plugins/wpdm-advanced-custom-fields/wpdm-advanced-custom-fields.php. Error message: Uncaught Error: Call to a member function getLatestVersions() on null in /home1/nswautom/public_html/NSW/wp-content/plugins/wpdm-advanced-custom-fields/wpdm-advanced-custom-fields.php:985
Stack trace:
#0 /home1/nswautom/public_html/NSW/wp-includes/class-wp-hook.php(307): WPDM\AddOn\AdvancedCustomFields->updatePlugin(false, Array, 'wpdm-advanced-c...', Array)
#1 /home1/nswautom/public_html/NSW/wp-includes/plugin.php(189): WP_Hook->apply_filters(false, Array)
#2 /home1/nswautom/public_html/NSW/wp-includes/update.php(477): apply_filters('update_plugins_...', false, Array, 'wpdm-advanced-c...', Array)
#3 /home1/nswautom/public_html/NSW/wp-includes/class-wp-hook.php(307): wp_update_plugins('')
#4 /home1/nswautom/public_html/NSW/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#5 /home1/nswautom/public_html/NSW/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#6 /home1/nswautom/public_html/NSW/wp-admin/admin.php(385): do_action('load-plugins.ph...')
#7 /home1/nswautom/public_html/NSW/wp