Hi!
My wpdownloadmanager plugin made my whole website crash recently. After inactivating the plugin the site is again up and running. However, when activating the plugin the site crashes again. Admin on the server suggest I contact the developer of the plugin to get a version that supports the new WordPress version. I am suspecting an update might solve the problem, but I cannot activate the plugin in WP, which is required to access the update button. How do I update the existing plugin without risk of losing information? Can I just download and re-install the latest version, or is there another way of getting the plugin working again?
The error from the server is: “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 /var/www/site…”
Regards, Martin
My site: Luxury Italian Office
I have an older version of the plugin: 4.1.7
PHP: 8.0
Wordpress: latest version
It gives me the following error: Plugin could not be activated because it triggered a fatal error.
Username wordpress: artgallery75
Password: @021075pippopluto#
Admin: Luxury Italian Office
If the problem is due to incompatibility, I’m also willing to buy the updated version but only if I have the possibility to use the entire archive of the old download site.
It’s urgent so please answer me as soon as possible!
Sincerely
Hello
When i try to activate plugin Chauffeur Booking System for WordPress show me this message
Fatal error: Out of memory (allocated 206594048) (tried to allocate 20480 bytes) in /hermes/bosnaweb24a/b30/ipg.marotourscom1/sharmelsheikhtaxi.com/wp-includes/class-wpdb.php on line 2153
Fatal error: Out of memory (allocated 206594048) (tried to allocate 20480 bytes) in /hermes/bosnaweb24a/b30/ipg.marotourscom1/sharmelsheikhtaxi.com/wp-includes/plugin.php on line 511
The memory is enough i did everything, i can’t to solve this problem.
Pleas advise me
After changing the host provider, I can’t reactivate the plugin
Plugin could not be activated because it triggered a fatal error.
Fatal error: Unparenthesized
a ? b : c ? d : e
is not supported. Use either(a ? b : c) ? d : e
ora ? b : (c ? d : e)
in /home/xxxxxxx/public_html/wp-content/plugins/download-manager/widgets/class.Search.php on line 17
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
We are using miniOrange SAML 2.0 SSO to log in users to our site which has been working perfectly, but just a couple of weeks ago we started seeing a WordPress critical error for first-time users on the site. It appears to be related to Download Manager…and potentially the new “pending approval” addition to the latest update. Has anyone seen this?
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WPDM\User\Register::pendingApproval(), 1 passed in /wordpress/wp-includes/class-wp-hook.php on line 307 and exactly 2 expected in /www/wp-content/plugins/download-manager/src/User/Register.php:413 Stack trace: #0 /wordpress/wp-includes/class-wp-hook.php(307): WPDM\User\Register->pendingApproval(9547) #1 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #2 /wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #3 /www/wp-content/plugins/miniorange-saml-20-single-sign-on/mo_login_saml_sso_widget.php(1663): do_action('user_register', 9547) #4 /www/wp-content/plugins/miniorange-saml-20-single-sign-on/mo_login_saml_sso_widget.php(1427): mo_saml_set_auth_cookie(Object(WP_User), '_1741720b98983d...', 'dbrtest@advisor...', true) #5 /www/wp-content/plugins/miniorange-saml-20-single-sign-on/mo_login_saml_sso_widget.php(1247): mo_saml_login_user('dbrtest@advisor...', 'Test', 'Test', 'dbrtest@advisor...', Array, 'unchec in /www/wp-content/plugins/download-manager/src/User/Register.php on line 413
Our Chief Technology Officer think it looks like when miniOrange is still provisioning and assigning a role to the user, another plugin (Download Manager) is looking for something associated to the user account and when the user is half-provisioned it doesn’t like what is returned and bombs out.
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
Hello,
We are using : WPDM PRO with premium package
Theme: Attire with Swift Child theme
Wordpress : 6.2.2
PHP version : 7.4
When we try viewing any of the download following Fatal error is being displayed instead of the download page.
———————————————
Fatal error
: Uncaught Error: Class ‘WPDM\Package’ not found in C:\xampp-php7.4\htdocs\datastex\wp-content\themes\swift\single-wpdmpro.php:5
Stack trace:
#0 C:\xampp-php7.4\htdocs\datastex\wp-includes\template-loader.php(106): include()
#1 C:\xampp-php7.4\htdocs\datastex\wp-blog-header.php(19): require_once(‘C:\\xampp-php7.4…’)
#2 C:\xampp-php7.4\htdocs\datastex\index.php(17): require(‘C:\\xampp-php7.4…’)
#3 {main} thrown in C:\xampp-php7.4\htdocs\datastex\wp-content\themes\swift\single-wpdmpro.php on line 5
———————————————–
This is happening for any of the download, from front end as well even when trying to view from the admin backend.
Please advise.
Rajnish
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 am a WordPress Download Manager PRO user and I am noticing some issues With Premium Packages – Sell Digital Products Securely Plugin, since its activation created this message in my dashboard área of WordPress:
Create Payment Link
Payment Link Options
Price
Title
Reason form payment
Description
You may add more details about this payemnt
Generated Payment Link
Email Payment Link
Note:
Write something about this payment
It take me to uninstall WPRSS Agregator because fatal error and compatibility issue. In that scenario, the dashboard became frozen.