New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wordpress Dashboard not loading after updating Woocommerce #32979
Comments
Hello @i-belovari-autoactiva, Could you please confirm the version that you are experiencing this problem with? We released a new version (6.5.1) yesterday that resolved a fatal error. |
The update to the version 6.5.1 has fixed the issues. |
The same issue occured again. Version 6.5.1 |
Hello @i-belovari-autoactiva, Just to confirm, you checked the box that indicates you can reproduce this bug with all plugins except for WooCommerce disabled and the Storefront theme activated. This is accurate, yes? Could you see if there are any logs that could help developers diagnose this issue? |
We experience this for some customers as well. Trying to strace the processes, we see it does the In some cases, the request will end up using an excessive amount of memory - even increasing memory_limit to 64GB (Yes, it's insane), will result in the page using 64GB, and eventually crash due to memory limit exceeded. I'll tell the customer to try to switch to Storefront and disable all other plugins on a test site - I'll be back with my findings. |
+1 but to be precise not 504 but 500 internal server error when trying to load /wp-admin/. The front end of the website and WooCommerce keep functioning normally, although possibly a bit slower. The issue emerged when upgrading from 6.4.1 to 6.5.0 which was later withdrawn. It also occurs with 6.5.1. We do not run WC Admin. |
Same here. Any updates? |
Yes, I have deactivated all plugins. I can not access Wordpress backend dashboard with woocommerce plugin active. No logs available |
Same problem here. Could this proposal solve the problem? |
Here is the beta for the next release to test if that works https://github.com/woocommerce/woocommerce/releases/tag/6.6.0-beta.1 |
You can try turning off Analytics by going to WooCommerce > Settings > Advanced > Features and toggling off Analytics. Did changing the timezone affect it any way? |
On our test environments, the problem was not present, as there is probably not the mass of orders here. On the live environment, unfortunately, we can't retest it at this time because we can't take a chance on outages. We would like to test a version then when someone has identified the cause of the problem and a fix is included that addresses the cause of the problem.
Can't do it because management and accounting need the settings.
As said, we cannot test this. In the linked ticket, the "trick" seems to lead to success. |
Hi @larsenlarsson, thanks for letting us know. May I know the exact country the timezone config was set prior for the affected store? |
Hi @ilyasfoo |
For us, only the WP Dashboard is unaccessible. Test logging in with e.g. "/wp-admin/themes/" or navigate to themes/plugins/... from the admin bar - maybe it is a workaround. Timezone: Berlin |
This will help anybody with this issue. |
For our management and accounting, this setting would need to remain enabled. |
I'm glad you've found a workaround for this! Unfortunately, I'm unable to reproduce the problem with my local test sites so far. If there is anyone who could reproduce it reliably on a testing site (without real customer or sensitive data etc.) and could share it with us, that would be a great help for us to debug. |
I am having the same issue. I can log in, but WooCommerce analytics and the WooCommerce dashboard cause PHP to crash. Here's some detail from my logs. These lines appear every time one of those pages is accessed: CRITICAL Uncaught Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '100' frames in /srv/www/public_html/wp-content/plugins/woocommerce/src/Admin/DeprecatedClassFacade.php:82 |
We've been able to reproduce this issue (thanks to @moon0326 for the excellent sleuthing) by changing the value of PHP timezone Note that it is not recommended for your site to change We're working on a fix at the moment and will update once it's ready |
Fix PR is ready Edit: removed build link since it requires WooCommerce organization access. Will notify when the PR is merged and a nightly build is ready |
@ilyasfoo Thanks for nailing this down. On /wp-admin/site-health.php we indeed found a warning that something changed the default timezone after WordPress was loaded. This appeared to be caused by a plugin that was custom build for us. After fixing that we could update Woocommerce from 6.4.1 to 6.5.1 without loosing access to /wp-admin/. |
I have this exact problem by merely installing woocommerce fresh on a standalone website though I hav anotrher fully working woocommerce version on another domain on the same webhost. rhel 8 The other wp sites on this host still work normally. The workarpund linkd admin.php?page=wc-settings&tab=advanced§ion=features" indicates "Sorry, you are not allowed to access this page. The only fix right now is rm -rf woocommerce in the wp-content directory $wp_version = '6.1.1'; /**
I also have some issues with word press due to the fact I use a high availability database server using galera and mariadb. My issue here is I very much want to use woo commerce on all my sites that process revenue or donations. I am in the process up making php 7.4 on the web server: PHP 7.4.30 (cli) (built: Jun 7 2022 08:38:19) ( NTS ) |
Prerequisites
Describe the bug
The /wp-admin is not loading after updating Woocommerce to the newest version. Frontend works just fine until an attempt to sign in to wordpress dashbord. My team has found this issue on 3 different websites.
Expected behavior
The Wordpress dashboard should open after logging in.
Actual behavior
The Wordpress dashboard keeps loading indefinitely until a 504 Error occurs (after 3 mins of loading).
Steps to reproduce
WordPress Environment
Unable to get, because the Wordpress dashboard won't load.
Woocommerce Version: Newest (Updated Yesterday)
Theme: Flatsome (Newest Version)
Wordpress Version: Newest
Isolating the problem
The text was updated successfully, but these errors were encountered: