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 167
If 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.
We contact BuddyBoss, and they found this:
PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\default_user_agent() in /home/customer/www/dharmagar.org/public_html/wp-content/plugins/wpdm-amazon-s3/aws-sdk/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php:40
This error is coming from wpdm-amazon-s3 itself. This error is not coming from our BuddyBoss Platform plugin. You need to contact wpdm-amazon-s3 plugin authors and report this issue. They should be able to help you with this. They might need to reconfigure the Guzzle HTTP and Update the Guzzle Library.
I get this error
Fatal error: Uncaught Error: Class “WPDM\Session” not found in /home3/apreaasi/public_html/knowledgebrief/beta-kb/wordpress/wp-content/themes/aprea/download-manager/lock-options/email-lock-form.php:10 Stack trace:
my website beta is https://knowledgebrief.aprea.asia/beta-kb/wordpress/
Can someone help me? Im in desperate need to get this up
Hello there, This is my subscription-based website where I offer pdf’s to be downloaded. Monthly users can download 3 reports per month, then after 3 downloads if anyone intends to download more reports (PDF), they will have to pay an additional 14.99$. Previously it worked. I had posts where the download button was there as well as another package of pdf that could be added to the cart. Right now when I am adding the shortcode of that 14.99$ package on any post on my WordPress. The page shows a critical error message.
I got an email from WordPress saying Stripe is creating the issue. Here is the mail:
Howdy!
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, WPDM – Stripe.
First, visit your website (https://adventurefreaksss.com/) and check for any visible issues. Next, visit the page where the error was caught (https://adventurefreaksss.com/wp-admin/post.php?post=2055&action=edit) 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.
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 6.5.3
Active theme: Astra (version 4.6.14)
Current plugin: WPDM – Stripe (version 1.6.5)
PHP version 8.1.27
Error Details
=============
An error of type E_ERROR was caused in line 1137 of the file /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php. Error message: Uncaught Error: Call to a member function create() on null in /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php:1137
Stack trace:
#0 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdmpp-stripe/wpdmpp-stripe.php(1210): WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNowButton()
#1 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(324): WPDMPP\Libs\PaymentMethods\WPDM_Stripe->buyNow()
#2 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/templates/add-to-cart/buy-now.php(15): apply_filters()
#4 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/includes/libs/ShortCodes.php(122): include(‘/home/u87575358…’)
#5 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/includes/libs/cart-functions.php(1279): WPDMPP\Libs\ShortCodes->buyNowHTML()
#6 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/wpdm-premium-packages/wpdm-premium-packages.php(1392): wpdmpp_add_to_cart_html()
#7 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(326): WPDMPP\WPDMPremiumPackage->fetchTemplateTag()
#8 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php(397): apply_filters()
#10 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php(1818): WPDM\Package\PackageController->prepare()
#11 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-content/plugins/download-manager/src/Package/Shortcodes.php(68): WPDM\Package\PackageController->fetchTemplate()
#12 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/shortcodes.php(433): WPDM\Package\Shortcodes->singlePackage()
#13 [internal function]: do_shortcode_tag()
#14 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#15 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#16 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#17 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1865): apply_filters()
#18 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#19 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#20 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#21 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#22 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/rest-api.php(2922): rest_do_request()
#23 [internal function]: rest_preload_api_request()
#24 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-includes/block-editor.php(753): array_reduce()
#25 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#26 /home/u875753586/domains/adventurefreaksss.com/public_html/wp-admin/post.php(187): require(‘/home/u87575358…’)
#27 {main}
thrown
Kindly check on this. And let me know. Thanks.
We’ve been experiencing ongoing issues with PDFs not previewing, specifically when hit with a large amount of traffic to the page. The issue presents with PDFs not previewing and getting an error saying An error occurred while loading the PDF
followed by really slow site loading and downloading speeds. This does seem to be tied to the plugin unable to render during high traffic times because when I force logout all users, PDFs begin to load again.
We have a specific page on our site where about 140 of our highest viewed packages are linked and we have had to bypass the PDF previews completely in order to keep our site running. Rather than linking to the resource page with the PDF preview, we are now linking directly to the file URL in the wp-content folder in the browser to enable our clients to preview, access and download these important packages. This is just a band-aid and cannot be a long-term solution as it is a security risk.
I’ll follow this message up with login details and more specifics. We really need to figure this out as not being able to preview and having the site slow down is significantly impacting our ability to do business. Download Manager is the core functionality of our site and we don’t want to find another solution, but we may need to start looking if we can’t get this resolved.
I’ve opened a previous thread on this and am linking for context: https://www.wpdownloadmanager.com/support/topic/urgent-continued-fatal-errors/
We continue to have issues with Download Manager and PDF Viewer working as intended on our site. In chatting with our host, they’ve been able to share with us the following:
The site is seeing the following fatal error:
PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68
And there’s been over 5,000 slow errors dealing with the download-manager
plugin and over 2,000 mentioning the wpdm-pdf-viewer
plugin in the past day.
Our issues are starting with PDFs not previewing and getting an error saying An error occurred while loading the PDF
followed by really slow download speeds. Our host is suggesting we take these slow errors to you and work on getting those resolved. A lot of these slow errors are in regards to MySQL queries they’re seeing the MySQL layer CPU spiking to 100% consistently, which is probably the primary cause of the issues we’re seeing with the site going down and not working. The slow logs won’t provide the exact query running, but should provide you some solid information to be able to help get that fixed and stabilize the site.
Multiple customers of ours are using your plugin. But for some reason today it will let the loginpage crash and also Gravity Forms can’t send any submits when this plugin is enabled.
Can you tell me what is wrong with the plugin and please fix it?
2024/03/28 14:22:47 [error] 716230#716230: *591348 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /home/knipping/knipping.nl/current/wp-content/plugins/download-manager/src/User/Login.php:458
Thanks
We have started having issues intermittently with PDF Viewer not generating previews and displaying the error: “An error occurred while loading the PDF.” We are running Version 3.0.6. In chatting with our host about seemingly related site speed issues, they confirmed that the WPDM PDF Viewer plugin is throwing out quite a few fatal errors: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /www/wp-content/plugins/wpdm-pdf-viewer/tpls/viewer.php:68”
They also said: “It also seems like download-manager is throwing out massive amounts of errors as well, over about 8k within the last 2 hours alone so those may be worth having a look at.” We are running Version 6.5.1 of Download Manager Pro.
This site is a core offering to our clients and has behaving very unpredictably. Looking for any quick insight or help you can provide to mitigate these issues please.