the update of Premium plugin just crashed our website.
Fatal error: Uncaught Error: Undefined constant “WPDMPP\Libs\WPDM_CRON_KEY” in /home/data/public_html/data/wp-content/plugins/wpdm-premium-packages/includes/libs/CronJobs.php:50 Stack trace: #0 /home/data/public_html/data/wp-includes/class-wp-hook.php(307): WPDMPP\Libs\CronJobs->orderRenewalNotificationCron(”) #1 /home/data/public_html/data/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /home/data/public_html/data/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /home/data/public_html/data/wp-settings.php(598): do_action(‘init’) #4 /home/data/public_html/data/wp-config.php(104): require_once(‘/home/data…’) #5 /home/data/public_html/data/wp-load.php(50): require_once(‘/home/data…’) #6 /home/data/public_html/data/wp-admin/admin.php(34): require_once(‘/home/data…’) #7 /home/data/public_html/data/wp-admin/plugins.php(10): require_once(‘/home/data…’) #8 {main} thrown in /home/data/public_html/data/wp-content/plugins/wpdm-premium-packages/includes/libs/CronJobs.php on line 50
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Please can you advise? thank you
Hello,
we just updated the plugin in preparation for a php update next month, since the old version caused a fatal error with php 8, but the update seems to have messed up the settings/design of the plugin.
We set up a development area where we duplicated the live website to, in order to test for problems.
Comparing the settings of the live website with the development site, we couldn’t see any differences, yet:
1. no files are being shown for the same user* (only the user role “investorgeprueft” is allowed to view files for download, which the user’s role is set to on both sites)
2. the table headings differ / are missing
3. the categories that have been set up using the WPDM Categories widget are missing
*only if the specific user is allowed access directly in the download package, but the general user role is not working.
Looking at the file structure using FTP shows that the whole structure differs widely from the old version, so trying to find/add previously edited template files proves difficult.
See the following screenshot with the comparisons: https://postimg.cc/F1pLFdxJ
Please advise, thank you!
Hi
Trying to update from PHP 7.4 to PHP 8.1 and getting the following error message???
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/webvol4/1a/vzp6uvic2yv4ibo/iso.valjeviken.se/public_html/wp-content/plugins/download-manager/widgets/class.Search.php on line 17
The website works with PHP 7.4.
Thanks
Thorbjörn
Hi there!
We’ve bought and loaded Download Manager Pro and are using it on eg: https://www.impaact4tb.org/brazil/ – pages, these pages spit out the following error when loading:
Fatal error: Uncaught DivisionByZeroError: Division by zero in /usr/www/users/impaahvveg/wp-content/plugins/download-manager/src/Package/Shortcodes.php:128 Stack trace: #0 /usr/www/users/impaahvveg/wp-content/plugins/download-manager/src/Category/Shortcodes.php(36): WPDM\Package\Shortcodes->packages(Array) #1 /usr/www/users/impaahvveg/wp-includes/shortcodes.php(356): WPDM\Category\Shortcodes->listPackages(Array, ”, ‘wpdm_category’) #2 [internal function]: do_shortcode_tag(Array) #3 /usr/www/users/impaahvveg/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(wpdm_c…’, ‘do_shortcode_ta…’, ‘[wpdm_category …’) #4 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/utility.php(413): do_shortcode(‘[wpdm_category …’) #5 /usr/www/users/impaahvveg/wp-includes/class-wp-hook.php(307): gdlr_core_do_shortcode(‘[wpdm_category …’) #6 /usr/www/users/impaahvveg/wp-includes/plugin.php(191): WP_Hook->apply_filters(‘[wpdm_category …’, Array) #7 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/utility.php(357): apply_filters(‘gdlr_core_the_c…’, ‘
[wpdm_catego…’) #8 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/include/pb/pb-element-tab.php(232): gdlr_core_content_filter(‘
[wpdm_catego…’) #9 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/page-builder-element.php(131): gdlr_core_pb_element_tab::get_content(Array) #10 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/page-builder.php(612): gdlr_core_page_builder_element::get_content(Array, Array) #11 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/include/pb-wrapper/pb-wrapper-background.php(797): gdlr_core_page_builder->print_page_builder_item(Array) #12 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/page-builder-wrapper.php(111): gdlr_core_pb_wrapper_background::get_content(Array, Array) #13 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/page-builder.php(612): gdlr_core_page_builder_wrapper::get_content(Array, Array) #14 /usr/www/users/impaahvveg/wp-content/plugins/goodlayers-core/framework/function/page-builder.php(562): gdlr_core_page_builder->print_page_builder_item(Array, true) #15 /usr/www/users/impaahvveg/wp-includes/class-wp-hook.php(307): gdlr_core_page_builder->print_page_builder(”) #16 /usr/www/users/impaahvveg/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #17 /usr/www/users/impaahvveg/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #18 /usr/www/users/impaahvveg/wp-content/themes/onepagepro/page.php(42): do_action(‘gdlr_core_print…’) #19 /usr/www/users/impaahvveg/wp-includes/template-loader.php(106): include(‘/usr/www/users/…’) #20 /usr/www/users/impaahvveg/wp-blog-header.php(19): require_once(‘/usr/www/users/…’) #21 /usr/www/users/impaahvveg/index.php(17): require(‘/usr/www/users/…’) #22 {main} thrown in /usr/www/users/impaahvveg/wp-content/plugins/download-manager/src/Package/Shortcodes.php on line 128
There has been a critical error on this website.
– we’ve loaded the latest version of the WPDM plugin here.
Please help..
Hello,
After Yoast SEO performed an automatic update today the site produced a fatal error.
It seems to be a conflict between WPDM and Yoast SEO – do you know how to resolve this without having to disable Yoast?
[20-Sep-2022 10:03:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in /home/xxxxxx/public_html/wp-includes/link-template.php:430
Stack trace:
#0 /home/xxxxxx/public_html/wp-includes/link-template.php(392): _get_page_link(Object(WP_Post), false, false)
#1 /home/xxxxxx/public_html/wp-content/plugins/download-manager/src/User/Login.php(308): get_page_link(Object(WP_Post))
#2 /home/xxxxxx/public_html/wp-includes/class-wp-hook.php(307): WPDM\User\Login->loginURL('https://www.edu...', '', false)
#3 /home/xxxxxx/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters('https://www.edu...', Array)
#4 /home/xxxxxx/public_html/wp-includes/general-template.php(459): apply_filters('login_url', 'https://www.edu...', '', false)
#5 /home/xxxxxx/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(402): wp_login_url()
#6 /home/xxxxxx/public_html/wp-content/plugins/wordpress-seo/wp-seo.php(50): require_once('/home/xxxx...')
#7 /home/educ in /home/xxxxxx/public_html/wp-includes/link-template.php on line 430
Hello,
We are working on updating our website so I am setting up a development copy of our website to work on.
I am trying to import the packages from our site using the WPDM import/export tool.
When I try to import to the new site by uploading the CSV file I get the error below. Can anyone assist?
[12-Sep-2022 11:25:37 UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /home/xxxxx/public_html/wp-content/plugins/download-manager/src/Admin/Menu/ImportExport.php:340
Stack trace:
#0 /home/xxxxx/public_html/wp-content/plugins/download-manager/src/Admin/Menu/ImportExport.php(143): WPDM\Admin\Menu\ImportExport->importRow(Array)
#1 /home/xxxxx/public_html/wp-includes/class-wp-hook.php(307): WPDM\Admin\Menu\ImportExport->import('')
#2 /home/xxxxx/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#3 /home/xxxxx/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#4 /home/xxxxx/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_wpdm_im...')
#5 {main}
thrown in /home/xxxxx/public_html/wp-content/plugins/download-manager/src/Admin/Menu/ImportExport.php on line 340
I am getting the same error message as listed here.
https://www.wpdownloadmanager.com/support/topic/wpdm_accordion_gbblock-php-on-line-52-and-53-2
Which is listed as resolved but the resolution is set as private. So here we go.
The plugin appears to work on the frontend but it crashes the backend/admin side.
[Thu Sep 01 16:12:32.787361 2022] [php:error] [pid 10475] [client 10.1.100.15:50368] PHP Fatal error: Uncaught TypeError: basename(): Argument #1 ($path) must be of type string, array given in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php:52\nStack trace:\n#0 /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php(52): basename()\n#1 /var/www/html/cms/wp-includes/class-wp-hook.php(307): WPDM_Accordion_GBBlock->linktemplatesJSON()\n#2 /var/www/html/cms/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#3 /var/www/html/cms/wp-includes/plugin.php(476): WP_Hook->do_action()\n#4 /var/www/html/cms/wp-admin/admin-header.php(163): do_action()\n#5 /var/www/html/cms/wp-admin/index.php(137): require_once(‘…’)\n#6 {main}\n thrown in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php on line 52
The Function in question
function linktemplatesJSON()
{
$templates = WPDM()->packageTemplate->getTemplates('link', true);
$_templates = [];
foreach ($templates as $templateID ► $template) {
$template = WPDM()->packageTemplate->getInfo(basename($template), 'link');
$_templates[] = ['label' ► $template['name'], 'value' ► $templateID];
}
?>
<script>
var __wpdmacrd_link_templates = <?= json_encode($_templates); ?>;
</script>
<?php
}
The specific line
$template = WPDM()->packageTemplate->getInfo(basename($template), ‘link’);
If I comment out that line then it hops to the next line
[Thu Sep 01 16:19:00.782022 2022] [php:error] [pid 10057] [client 10.1.100.15:50797] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php:53\nStack trace:\n#0 /var/www/html/cms/wp-includes/class-wp-hook.php(307): WPDM_Accordion_GBBlock->linktemplatesJSON()\n#1 /var/www/html/cms/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#2 /var/www/html/cms/wp-includes/plugin.php(476): WP_Hook->do_action()\n#3 /var/www/html/cms/wp-admin/admin-header.php(163): do_action()\n#4 /var/www/html/cms/wp-admin/index.php(137): require_once(‘…’)\n#5 {main}\n thrown in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php on line 53
If I comment out that line then it allows me to continue and I get no further errors.
I do have some custom accordian templates. I am on php 8.1 and can give you more details if you need them.
Brian
After installing and during activation we are receiving following error consistently :
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘)’ in C:\xampp\htdocs\datastex\wp-content\plugins\wpdm-premium-packages\wpdm-premium-packages.php on line 1517
Please advice
Regards
Rajnish
Video overview of the issue: https://www.loom.com/share/f59e2500c91046d490422700e57412fa
Edit referenced in the video:
File: libs/Core/Type/Numeric.php
Line: 89
Changed to: if (null !== $value && (is_int($value) || is_float($value))) {
2022/08/16 21:48:27 [error] 196#196: *398 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “horizontal” in /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php on line 224PHP message: PHP Warning: Undefined array key “vertical” in /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php on line 225PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/libs/Core/Type/Numeric.php:90
Stack trace:
#0 /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/libs/Core/DataStructure/Color.php(115): SetaPDF_Core_Type_Numeric->__construct(”)
#1 /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/libs/Core/Text/Block.php(480): SetaPDF_Core_DataStructure_Color::createByComponents(Array)
#2 /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/libs/Stamper/Stamp/Text.php(190): SetaPDF_Core_Text_Block->setTextColor(”)
#3 /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(297): SetaPDF_Stamper_Stamp_Text->setTextColor(”)
#4 /www/isl31_96/public/wp-content/plugins/wpdm-pdf-stamper/wpdm-pdf-stampers.php(118): WpdmPdfStampers->processPDF(‘/www/isl31_96/…’, ‘RH-BOAT.pdf’, 191)
#5 /www/isl31_96/public/wp-includes/class-wp-hook.php(307): WpdmPdfStampers->fileProcess(A” while reading response header from upstream, client: 73.180.47.35, server: staging-isl31.kinsta.cloud, request: “GET /download/boat/?wpdmdl=191&refresh=62fc10a99b0eb1660686505 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-isl31.sock:”, host: “staging-isl31.kinsta.cloud:62858”, referrer:
I upgraded to the pro version of the membership plugin and now I’m getting a fatal error. Something to do with the Download Limit plugin – https://www.dropbox.com/s/wpj1zh5lcdqqp23/IMG_3778.PNG?dl=0
What do I do?
hi <br> i bought the pdf stamper, and installed it. the plugin caused a fatal error on my website. apparently the plugin is not coded properly. i got the message atal error:
Uncaught TypeError: Unsupported operand types: int & string in /home/blogname/public_html/wp-content/plugins/wpdm-pdf-stamper/libs/Core/SecHandler/Standard.php:58
please respond and fix asap. thank you
Hey support,
We are getting this fatal error:
Fatal error: Uncaught Error: Class ‘WPDM\Template’ not found in /home/stealth/public_html/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php:382 Stack trace: #0 /home/stealth/public_html/wp-includes/shortcodes.php(356): WPDM_ArchivePage->_archivePage(Array, ”, ‘wpdm-archive’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/stealth/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(wpdm\\-…’, ‘do_shortcode_ta…’, ‘\n<div class=”wp…’) #3 /home/stealth/public_html/wp-includes/class-wp-hook.php(307): do_shortcode(‘\n<div class=”wp…’) #4 /home/stealth/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(‘\n<div class=”wp…’, Array) #5 /home/stealth/public_html/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘<!– wp:group {…’) #6 /home/stealth/public_html/wp-content/themes/sparton/page.php(7): the_content() #7 /home/stealth/public_html/wp-includes/template-loader.php(106): include(‘/home/stealth/p…’) #8 /home/stealth/public_html/wp-blog-heade in /home/stealth/public_html/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php on line 382
We’ve tested switching the theme to default, downgrade WordPress, downgrade Downlaod Manager, but nothing worked.
Could you please provide some insights of what is causing the issue?
Thank you,