- This topic has 10 replies, 3 voices, and was last updated 4 years, 7 months ago by
Shahjada.
Hi Support,
I have automatic updates turned on and yesterday my whole Downloads Manager environment started throwing WordPress ‘There has been a critical error on this website.’ errors. The stack trace is this:
[08-Jul-2021 08:37:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WPDM\__\FileSystem::docPreview() in /home/campraorg/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php:1723
Stack trace:
#0 /home/campraorg/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php(1568): WPDM\Package\PackageController->docPreview(Array)
#1 /home/campraorg/public_html/wp-content/plugins/download-manager/src/Package/Hooks.php(127): WPDM\Package\PackageController->fetchTemplate(‘<!– WPDM Templ…’, Array, ‘page’)
#2 /home/campraorg/public_html/wp-includes/class-wp-hook.php(292): WPDM\Package\Hooks->embedPackage(‘<p>Letter to ca…’)
#3 /home/campraorg/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘<p>Letter to ca…’, Array)
#4 /home/campraorg/public_html/wp-content/themes/enfold/includes/loop-index.php(135): apply_filters(‘the_content’, ‘Letter to camps…’)
#5 /home/campraorg/public_html/wp-includes/template.php(732): require(‘/home/campraorg…’)
#6 /home/campraorg/public_html/w in /home/campraorg/public_html/wp-content/plugins/download-manager/src/Package/PackageController.php on line 1723
Please can you help solve this problem. My site is using WordPress 5.7.2 running Enfold Child theme and Downloads Manager 3.2.05
Hello ,
Sorry for this inconvenience.
Make sure that WPDM and all add-ons you are using of WPDM are in the latest version. If you can’t update it directry from WordPress dashboard, Please update manually by uploading these plugins.
Then try deactivating/reactivating the plugins. Also conflict with other activated plugins cause the issue.
If, still the problem exists then please share your admin login credentials with us in a private reply so that we can debug and give you a better solution about it?
Best Regards
Hi Tanvir,
We don’t have any add-ons and the version of WPDM is 3.2.05. I think 3.2.05 is causing the problem because the site was working OK yesterday.
Kind regards
If, still the problem exists then please share your admin login credentials with us in a private reply so that we can debug and give you a better solution about it?
Best Regards
Hello,
You missed to provide your website address.
Please check. I need that to login.
Hi,
It was an issue with the doc preview. We have fixed the issue on your site, also released an update.
Thanks Shahjada. It’s all working OK now.
The topic "Critical error in PackageController.php" is closed to new replies.