-
Search Results
-
Topic: PHP 7.4 to PHP 8.1 error
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 : eis not supported. Use either(a ? b : c) ? d : eora ? 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 17The website works with PHP 7.4.
Thanks
ThorbjörnHi 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 430We 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 413Our 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 340I 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.4When 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
RajnishVideo 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 LinkEmail Payment Link
Note:
Write something about this paymentIt take me to uninstall WPRSS Agregator because fatal error and compatibility issue. In that scenario, the dashboard became frozen.
Topic: Critical Error
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?
Topic: pdf stamper fatal error
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,
Hey there,
I’m getting this fatal error when the plugin WPDM Archive Page is activated:
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
I switched to the default WordPress theme to discard issues, but the same happens. Any ideas?
Thank you,