New version 3.4.1 created a fatal error on our website
-
Hi, The update to version 3.4.1. crashed our wordpress/woocommerce site completely and our support team was only able to get it up and running again with the DHL plugin disabled. They could not figure out what the problem was. Can you please help?
Thanks, JuliaThe page I need help with: [log in to see the link]
-
Hey Abdalsalaam Halawa, The error message we got first was “There Has Been a Critical Error on Your Website” and the site was not accessible. Our support (who I believe have a staging site) managed to get the site up and running again – but only with the DHL Plugin switched off. With the DHL Plugin switched on we get the following errors:
in /www/htdocs/********/synergo.shop/wp-includes/functions.php on line 5865
Fatal error: Uncaught Error: Class ‘PR\DHL\Utils|Utils’ not found in
/www/htdocs/********/synergo.shop/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-paket.php:22 Stack trace: #0
/www/htdocs/********/synergo.shop/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhI-api-factory.php(52):PR_DHL_API_Paket->__construct(‘DE’)#1 /www/htdocs/********/synergo.shop/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(486):PR_DHL_API_Factory::make_dhl(‘DE’)#2
/www/htdocs/********/svnergo.shop/wp-content/plugins/dhl-for-woocommerce/pr-dh-woocommerce.php (281): PR_DHL_WC->get_dhI_factory() #3
/www/htdocs/********/synergo.shop/wp-content/plugins/dhl-for-woocommerce/pr-dhl-
woocommerce.ph (227): PR_DHL_WC->get_pr_dhI_wc_product()#4 /www./htdocs/********/synergo.shop/wp-includes/class-wp-hook.php(308):PR_DHL_WC->init(“)#5/www/
htdocs/********/synergo.shop/wp-includes/class-wp-hook.php(332):
WP_Hook->apply_filters (NULL, Array) #6 /www/htdocs/********/synergo.shop/wp-includes/p
_In www/htdocs********/synergo.shop/wp-content/plugins/dhl-for-
woocommerce/includes/pr-dhl-api/class-pr-dhl-api-paket.php on line 22
The crashing of the website seems to have coincided with the update to the latest DHL Plugin version (3.4.1). Any ideas for a solution?
Many thanks,
JuliaHi @abdalsalaam, Unfortunately we don’t have a staging environment available. Uninstalling and reinstalling did also not work for us. We are trying next to install the previous plugin version again for now. Please keep me posted if there is any update.
Thank you@julia116 I couldn’t recreate this issue, what is your website PHP version ?
-
This reply was modified 3 years ago by
Abdalsalaam Halawa.
@abdalsalaam Our PHP version is 7.4
And restoring the previous version of the plugin also did not work for us.-
This reply was modified 3 years ago by
julia116.
@abdalsalaam I will check. As soon as we have a staging environment ready, I will send it to you. Thanks, Julia
@abdalsalaam You need to stop asking for access to anyone’s site, be it staging, production, test, a backup of their site and database, etc.
Please reply that you will comply and that you understand that. Your account is flagged as a result of those replies.
While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.
If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.
Thankfully are other ways to get information you need:
- Ask the user to install the Health Check plugin and get the data that way.
- Ask for a link to the http://pastebin.com/ or https://gist.github.com log of the user’s web server error log.
- Ask the user to create and post a link to their
phpinfo();output. - Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.
- Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again (the Health Check plugin can do this without impacting any site visitors).
- Ask the user for the step-by-step directions on how they can reproduce the problem.
You get the idea.
We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.
When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.
@jdembowski Thank you for letting me know that its forbidden, I did that because we couldn’t recreate the issue.
Anyway, your feedback will be taken into consideration, and I’ll comply that.Hi @abdalsalaam,
the DHL plugin update today to the latest version 3.4.4. crashed our website again. (The same thing happened when updating to version 3.4.1. – see beginning of this thread). Since then, we updated our theme and got version 3.4.3. working. We do not know how to fix it this time, please help urgently.
Here is the error description (in German):Fehler-Details Ein Fehler vom Typ E_ERROR wurde in der Zeile 22 der Datei /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-paket.php verursacht. Fehlermeldung: Uncaught Error: Class 'PR\DHL\Utils\API_Utils' not found in /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-paket.php:22 Stack trace: 0 /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/includes/pr-dhl-api/class-pr-dhl-api-factory.php(52): PR_DHL_API_Paket->__construct('DE') 1 /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(496): PR_DHL_API_Factory::make_dhl('DE') 2 /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(282): PR_DHL_WC->get_dhl_factory() 3 /www/htdocs/*****/****.***/wp-content/plugins/dhl-for-woocommerce/pr-dhl-woocommerce.php(228): PR_DHL_WC->get_pr_dhl_wc_product() 4 /www/htdocs/*****/****.***/wp-includes/class-wp-hook.php(308): PR_DHL_WC->init('') 5 /www/htdocs/*****/****.***/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /www/htdocs/*****/****.***/wp-includ Thanks and kind regards, JuliaHi @julia116
Can you try install the plugin manually ?
Hi @abdalsalaam,
we tried reinstalling it and it crashed the website again. We installed version 3.4.5 manually. This is the second update in a row the plugin is crashing the web. We would really like this fixed thanks
Hi @abdalsalaam,
We got our IT support to fix the problem. What they had to do is adjust a line of coding in the plugin, you can see what they adjusted here: https://synergo.shop/wp-content/uploads/2023/04/Screenshot-from-2023-06-27-15-55-41-2.png
I saw that with the latest plugin update 3.4.6 from today it says in the change log “fix fatal error in some environments”.
Can you confirm whether you fixed the same thing our IT support adjusted in the plugin to make it run in our environment?
We don’t want to just test it in case it crashes our website again and we would need to get paid IT support again.
Many thanks,
JuliaHi @julia116 , Not exactly but its the same, we fixed this issue and tested it in various environments, I suggest to test it in your staging environment.
thank you
-
This reply was modified 3 years ago by
The topic ‘New version 3.4.1 created a fatal error on our website’ is closed to new replies.