-
Search Results
-
Good day,
we have been using the Download Manager Pro plugin for a while on our customer’s website.
However, it seems that the single download page is no longer working:I have activated WP DEBUG but there is no relevant warning or error, only the usual:
PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for thecm-download-manager-prodomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/dgkv/htdocs/dgkv.info/wp-includes/functions.php on line 6121Additionally, there was this error, but I could not pinpoint during which action this was generated:
[09-May-2025 08:17:24 UTC] PHP Deprecated: Creation of dynamic property com\cminds\package\pro\v1_9_2\CmindsLicensingAPI::$did_check is deprecated in /home/dgkv/htdocs/dgkv.info/wp-content/plugins/cm-download-manager-pro/package/cminds-api.php on line 213If I activate WP Debug to display errors on the website, it only shows the translation errors, and there is no fatal error in the source code.
Noticed a conflict with the existing archive page plugin (at least I’m assuming so given the error message):
Fatal error: Uncaught Error: Class "WPDM\Package" not found in /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php:114 Stack trace: #0 /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php(311): WPDM_ArchivePage->RenderCats() #1 /srv/www/wordpress/wp-includes/shortcodes.php(434): WPDM_ArchivePage->ArchivePage() #2 [internal function]: do_shortcode_tag() #3 /srv/www/wordpress/wp-includes/shortcodes.php(273): preg_replace_callback() #4 /srv/www/wordpress/wp-includes/class-wp-hook.php(324): do_shortcode() #5 /srv/www/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /srv/www/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1961): apply_filters() #7 /srv/www/wordpress/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(655): WP_REST_Posts_Controller->prepare_item_for_response() #8 /srv/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item() #9 /srv/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request() #10 /srv/www/wordpress/wp-includes/rest-api.php(586): WP_REST_Server->dispatch() #11 /srv/www/wordpress/wp-includes/rest-api.php(2973): rest_do_request() #12 [internal function]: rest_preload_api_request() #13 /srv/www/wordpress/wp-includes/block-editor.php(757): array_reduce() #14 /srv/www/wordpress/wp-admin/edit-form-blocks.php(114): block_editor_rest_api_preload() #15 /srv/www/wordpress/wp-admin/post.php(187): require('...') #16 {main} thrown in /srv/www/wordpress/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php on line 114Is there something additional I should be accounting for? or has the class been renamed?
Fatal error: Uncaught Error: Call to undefined function
Line 29 of User/User.php
Hello,
The example on this page throws a PHP fatal error. Can you provide more information on how to use this filter, preferably with a working example?
https://www.wpdownloadmanager.com/doc/filter-reference/wpdm_package_settings_tabs/
Thank you!
Call stack:
Fatal error: Uncaught Error: Cannot access offset of type string on string
in /content/live/site/wp-content/plugins/download-manager/src/Admin/views/metaboxes/package-settings.php on line 14Call stack:
include()
wp-content/plugins/download-manager/src/Admin/AdminController.php:308
WPDM\Admin\AdminController::packageSettings()
wp-admin/includes/template.php:1456
do_meta_boxes()
wp-admin/edit-form-advanced.php:723
require()
wp-admin/post.php:206Hello,
When adding a file, the plugin works as expected. When I edit the package and remove an attachment then click update, the “There has been a critical error on this website” message appears. If I click “Back”, the attached file is no longer there and I can update the post like normal.
Here’s the error log (anonymized)
PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /public_html/wp-content/plugins/download-manager/src/Admin/Menu/Packages.php:90\nStack trace:\n#0 /public_html/wp-content/plugins/download-manager/src/Admin/Menu/Packages.php(90): in_array()\n#1 /public_html/wp-includes/class-wp-hook.php(326): WPDM\\Admin\\Menu\\Packages->savePackage()\n#2 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /public_html/wp-includes/post.php(5060): do_action()\n#5 /public_html/wp-includes/post.php(5162): wp_insert_post()\n#6 /public_html/w…’, referer: https://mydomainhere.org/wp-admin/post.php?post=4842&action=editI’m running Version 6.6.3 on WP 6.7.1.
I tried disabling all plugins but download manager, and the error persists.
Thanks,
GlenTopic: Plugin Error
Hello. Your help would be appreciated. I seem to be getting a weird error from WordPress an the plugin isng working. I have the latest version installed:
WordPress has 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, download-manager.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.6.1
Active theme: Divi (version 4.27.2)
Current plugin: (version )
PHP version 8.1.22Error Details
=============
An error of type E_ERROR was caused in line 242 of the file /var/www/wptbox/wp-content/plugins/download-manager/download-manager.php. Error message: Uncaught Error: Class “WPDM\__\Installer” not found in /var/www/wptbox/wp-content/plugins/download-manager/download-manager.php:242
Stack trace:
#0 /var/www/wptbox/wp-includes/class-wp-hook.php(324): WPDM\WordPressDownloadManager->update()
#1 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/wptbox/wp-admin/includes/class-plugin-upgrader.php(421): do_action()
#4 /var/www/wptbox/wp-admin/includes/ajax-actions.php(4649): Plugin_Upgrader->bulk_upgrade()
#5 /var/www/wptbox/wp-includes/class-wp-hook.php(324): wp_ajax_update_plugin()
#6 /var/www/wptbox/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /var/www/wptbox/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /var/www/wptbox/wp-admin/admin-ajax.php(192): do_action()
#9 {main}
thrownAny ideas what the problem could be?
The host I have been using was forced to update the PHP version to PHP 8. Then, the Download Manager Pro plugin cannot be activated because it might cause a “fatal error” on the website. In this case, how should I do?
Topic: Fatal Error
Hello,
I received the following error when logging in to the website. I’m not sure why or how it happened. Could someone please help?
We have distributors worldwide using it.Your help would be greatly appreciated.
We’re working on a site that was started by another developer – there are pages that use the Display Packages by Category Gutenberg block that work perfectly fine.
We created a new category and attempted to add a new page with the Packages by Category Block (and also tried with the Elementor Widget) and both throw fatal errors.
We have ensured that the plugins and add-ons are all updated – we can’t understand why the block works for one page but not for others and these are the errors we’re getting:
Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /nas/content/live/qualityforum/wp-content/plugins/wpfts-add-on-for-wp-download-manager/index_filter.php:167 Stack trace: #0 /nas/content/live/qualityforum/wp-content/plugins/wpfts-add-on-for-wp-download-manager/index_filter.php(167): trim(Array) #1 /nas/content/live/qualityforum/wp-includes/class-wp-hook.php(326): {closure}(Array, Object(WP_Post)) #2 /nas/content/live/qualityforum/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /nas/content/live/qualityforum/wp-content/plugins/fulltext-search-pro/includes/wpfts_core.php(1707): apply_filters('wpfts_index_pos...', Array, Object(WP_Post), false) #4 /nas/content/live/qualityforum/wp-content/plugins/wpfts-add-on-for-wp-download-manager/index_filter.php(192): WPFTS_Core->getPostChunks(3894) #5 /nas/content/live/qualityforum/wp-content/plugins/wpfts-add-on-for-wp-download-manager/index_filter.php(212): wpfts_wpdmpro_getCachedContent(3894) #6 /nas/content/live/qualityforum/wp-includes/class-wp-hook.php(326): {closure}(Array) #7 /nas/content/live/qualityforum/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #8 /nas/content/live/qualityforum/wp-content/plugins/download-manager/src/Package/PackageController.php(423): apply_filters('wpdm_after_prep...', Array, 'link') #9 /nas/content/live/qualityforum/wp-content/plugins/download-manager/src/Package/PackageController.php(1877): WPDM\Package\PackageController->prepare(3894, 'afirm_clean_tem...', 'link') #10 /nas/content/live/qualityforum/wp-content/plugins/download-manager/src/Package/Shortcodes.php(255): WPDM\Package\PackageController->fetchTemplate('afirm_clean_tem...', Array) #11 /nas/content/live/qualityforum/wp-content/plugins/wpdm-gutenberg-blocks/libs/blocks/packages.php(136): WPDM\Package\Shortcodes->packages(Array) #12 /nas/content/live/qualityforum/wp-includes/class-wp-block.php(519): WPDM\Block\Packages->output(Array, '', Object(WP_Block)) #13 /nas/content/live/qualityforum/wp-includes/blocks.php(2061): WP_Block->render() #14 /nas/content/live/qualityforum/wp-includes/blocks.php(2113): render_block(Array) #15 /nas/content/live/qualityforum/wp-includes/class-wp-hook.php(324): do_blocks('<!-- wp:downloa...') #16 /nas/content/live/qualityforum/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:downloa...', Array) #17 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php(281): apply_filters('the_content', '<!-- wp:downloa...') #18 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php(111): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render_post_content(false, false) #19 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\ThemeBuilder\Widgets\Post_Content->render() #20 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #21 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content() #22 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content() #23 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #24 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #25 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element() #26 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content() #27 /nas/content/live/qualityforum/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element() #28 /nas/content/live/qualityforum/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements(Array) #29 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(412): Elementor\Core\Base\Document->print_elements(Array) #30 /nas/content/live/qualityforum/wp-content/plugins/elementor/includes/frontend.php(1158): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array) #31 /nas/content/live/qualityforum/wp-content/plugins/elementor/core/base/document.php(1249): Elementor\Frontend->get_builder_content(2117, false) #32 /nas/content/live/qualityforum/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false) #33 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false) #34 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() #35 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() #36 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(364): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content() #37 /nas/content/live/qualityforum/wp-content/plugins/elementor-pro/modules/theme-builder/api.php(13): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('single') #38 /nas/content/live/qualityforum/wp-content/themes/hello-elementor/index.php(20): elementor_theme_do_location('single') #39 /nas/content/live/qualityforum/wp-includes/template-loader.php(106): include('/nas/content/li...') #40 /nas/content/live/qualityforum/wp-blog-header.php(19): require_once('/nas/content/li...') #41 /nas/content/live/qualityforum/index.php(17): require('/nas/content/li...') #42 {main} thrown in /nas/content/live/qualityforum/wp-content/plugins/wpfts-add-on-for-wp-download-manager/index_filter.php on line 167If we duplicate the other pages that are working, and then attempt to edit/change which category is being displayed, the page editor (whether block or Elementor) throws an error and can’t save.