Skip to content
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

White screen on edit page/post even with latest WC 4.6.1 #28051

Closed
3 tasks done
lordspace opened this issue Oct 22, 2020 · 2 comments
Closed
3 tasks done

White screen on edit page/post even with latest WC 4.6.1 #28051

lordspace opened this issue Oct 22, 2020 · 2 comments
Labels
needs: author feedback The issue/PR needs a response from any of the parties involved in the issue. status: can't reproduce Issues that can't be reproduced.

Comments

@lordspace
Copy link

Hi,

yesterday I posted my debug info on this ticket (see one of the last comments) but it turns out it's a WC bug.
WordPress/gutenberg#11412

Here's a video:
https://www.loom.com/share/0d68465f0c2c4ffaa174d712f568fd0c

Describe the bug
White screen on edit page/post page when block editor is enabled.
When I enable the classic editor with this the page loads fine.

add_filter('use_block_editor_for_post', '__return_false');

Expected behavior
The block editor page to show up.

Actual behavior
White screen

Steps to reproduce the bug (We need to be able to reproduce the bug in order to fix it.)
https://www.loom.com/share/0d68465f0c2c4ffaa174d712f568fd0c

Screenshots
completely blank no js errors.
image

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.

WordPress Environment
We use the WooCommerce System Status Report to help us evaluate the issue.
Without this report we won't be able to fully evaluate this issue.

``` ` ### WordPress Environment ###

WordPress address (URL): https://example.com
Site address (URL): https://example.com
WC Version: 4.6.1
REST API Version: ✔ 4.6.1
WC Blocks Version: ✔ 3.4.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.6.2
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
External object cache: –

Server Environment

Server Info: Apache
PHP Version: 7.4.3
PHP Post Max Size: 58 MB
PHP Time Limit: 120
PHP Max Input Vars: 1000
cURL Version: 7.68.0
OpenSSL/1.1.1f

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.22-MariaDB-1ubuntu1
Max Upload Size: 50 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 4.6.1
WC Database Prefix: x_58c90ee3_
Total Database Size: 3.31MB
Database Data Size: 1.90MB
Database Index Size: 1.41MB
x_58c90ee3_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
x_58c90ee3_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
x_58c90ee3_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
x_58c90ee3_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
x_58c90ee3_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
x_58c90ee3_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
x_58c90ee3_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_options: Data: 1.03MB + Index: 0.06MB + Engine InnoDB
x_58c90ee3_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_posts: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
x_58c90ee3_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
x_58c90ee3_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
x_58c90ee3_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
x_58c90ee3_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
x_58c90ee3_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
x_58c90ee3_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
x_58c90ee3_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
x_58c90ee3_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
x_58c90ee3_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
x_58c90ee3_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

Post Type Counts

attachment: 2
custom_css: 1
customize_changeset: 7
nav_menu_item: 3
page: 32
post: 9
product: 2
revision: 6

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ❌Error messages should not be shown to visitors.

Active Plugins (1)

WooCommerce: by Automattic – 4.6.1

Inactive Plugins (0)

Must Use Plugins (2)

sandbox.php: by –
x.php: by –

Settings

API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

WC Pages

Shop base: #8 - /
Cart: #9 - /cart/
Checkout: #10 - /checkout/
My account: #11 - /my-account/
Terms and conditions: ❌ Page not set

Theme

Name: Twenty Twenty
Version: 1.5
Author URL: https://wordpress.org/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔

Templates

Overrides: –

Action Scheduler

Complete: 3
Oldest: 2020-10-21 10:23:29 +0000
Newest: 2020-10-21 13:31:24 +0000

`

</details>


> php -v
> PHP 7.4.11 (cli) (built: Oct 18 2020 19:39:42) ( NTS )
> Copyright (c) The PHP Group
> Zend Engine v3.4.0, Copyright (c) Zend Technologies
>     with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies
> 
@tammullen
Copy link
Contributor

tammullen commented Oct 22, 2020

Hi @lordspace

Thank you for submitting the issue. However, I can’t reproduce it using the steps you provided. Everything is working as expected on my end.

Screenshot_2020-10-22_at_12_47_39
Screenshot_2020-10-22_at_12_56_54

I tried this on sites with the following configs

Site 1

### WordPress Environment ###
WC Version: 4.6.1
REST API Version: ✔ 4.6.1
WC Blocks Version: ✔ 3.4.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.6.2
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###
Server Info: Apache/2.4.46 (Unix) OpenSSL/1.0.2g
PHP Version: 7.4.11
PHP Post Max Size: 1 GB
PHP Time Limit: 30
PHP Max Input Vars: 5000
cURL Version: 7.47.0
OpenSSL/1.0.2g

SUHOSIN Installed: –
MySQL Version: 5.7.31-0ubuntu0.16.04.1-log
Max Upload Size: 512 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Security ###
Secure connection (HTTPS): ✔

### Active Plugins (2) ###
Companion Plugin: by Osk – 1.17
WooCommerce: by Automattic – 4.6.1

### Theme ###
Name: Twenty Twenty
Version: 1.5

Site 2

### WordPress Environment ###
WC Version: 4.6.1
REST API Version: ✔ 4.6.1
WC Blocks Version: ✔ 3.4.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.6.2
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: ✔

### Server Environment ###
Server Info: nginx
PHP Version: 7.4.11
PHP Post Max Size: 2 GB
PHP Time Limit: 1200
PHP Max Input Vars: 6144
cURL Version: 7.72.0
OpenSSL/1.1.0l

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.21-MariaDB-log
Max Upload Size: 2 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Security ###
Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (3) ###
Akismet Anti-Spam: by Automattic – 4.1.6
Jetpack by WordPress.com: by Automattic – 9.0.2
WooCommerce: by Automattic – 4.6.1


### Theme ###
Name: Twenty Twenty
Version: 1.5

Site 3

`
### WordPress Environment ###
WC Version: 4.6.1
REST API Version: ✔ 4.6.1
WC Blocks Version: ✔ 3.4.0
Action Scheduler Version: ✔ 3.1.6
WC Admin Version: ✔ 1.6.2
Log Directory Writable: ✔
WP Version: 5.5.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
External object cache: –

### Server Environment ###
Server Info: Apache/2.4.43 (Unix)
PHP Version: 7.4.1
PHP Post Max Size: 1,000 MB
PHP Time Limit: 1200
PHP Max Input Vars: 4000
cURL Version: 7.54.0
LibreSSL/2.6.5

SUHOSIN Installed: –
MySQL Version: 5.7.28
Max Upload Size: 300 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Security ###
Secure connection (HTTPS): ❌
					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ✔

### Active Plugins (1) ###
WooCommerce: by Automattic – 4.6.1

### Theme ###
Name: Twenty Twenty
Version: 1.5

I used this browser/OS
Google Chrome | 86.0.4240.80 
OS | macOS Version 10.15.7

Can you provide details of the browser/OS you are using to view the site?

Have you been able to recreate this on any other site?

Can you also try using a different browser?

@tammullen tammullen added status: can't reproduce Issues that can't be reproduced. needs: author feedback The issue/PR needs a response from any of the parties involved in the issue. labels Oct 22, 2020
@tammullen tammullen removed their assignment Oct 22, 2020
@juliaamosova
Copy link
Contributor

Hi @lordspace,

As a part of this repository’s maintenance, I am closing this issue due to inactivity. Please feel free to comment on it in case we missed something. We’d be happy to take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: author feedback The issue/PR needs a response from any of the parties involved in the issue. status: can't reproduce Issues that can't be reproduced.
Projects
None yet
Development

No branches or pull requests

3 participants