This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 3 voices.

Last updated by davidL-95 10 months, 1 week ago.

Assigned support staff: Lauren.

Author Posts
December 12, 2018 at 8:24 am #2992061

Gnist Design

Recurring problem: Woocommerce shop page is blank/empty.

None of these so-called «resolved» tickets offer a lasting sollution; the same problem keeps popping up infrequently:
https://wpml.org/forums/topic/woocommerce-shop-page-empty/
https://wpml.org/forums/topic/woocommerce-shop-page-empty-2/
https://wpml.org/forums/topic/woocommerce-shop-page-gets-empty-after-a-few-times-the-language-was-switched/
https://wpml.org/forums/topic/woocommerce-shop-page-translation-showing-empty-categories-when-it-shouldnt/

Using Debug Bar, I’ve observed the following:

# WHEN SHOP PAGE IS BLANK:

Request:
webshop

Query String:
pagename=webshop

Matched Rewrite Rule:
(.?.+?)(?:/([0-9]+))?/?$

Matched Rewrite Query:
pagename=webshop&page=

# WHEN SHOP PAGE IS WORKING

Request:
webshop

Query String:
post_type=product

Matched Rewrite Rule:
webshop/?$

Matched Rewrite Query:
post_type=product

Based on this, I would think there is something obviously wrong with the rewrite rules and/or query, which keeps happening no matter how much debugging / cleaning / fixing is done in WPML > Support > Troubleshooting.

Rewriting permalinks usually fixes the issue temporarily, but it always reappears – and constantly flushing permalinks is not a viable sollution. Please dig deeper, and fix this.

December 12, 2018 at 6:17 pm #2994631

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this.

In most cases where I have seen this happening, there is a conflict with another theme or plugin causing the issue. It is not a generic bug, as the issue cannot be reproduced on a fresh installation.

To further troubleshoot, I'd like to have you try a few things so we can try to isolate the issue. This is just to help me identify if it might be a conflict with another plugin or theme that is causing the problem.

** IMPORTANT ** Please backup a working copy of site files and database before continuing.

Update all WPML plugins & WordPress core.

Disable all plugins except WPML related and then temporarily change the theme to a default WordPress such as TwentyFifteen. With these settings, is the issue resolved?

If you don't have a testing environment available and cannot test this on your live site, I will be happy to set one up for you, just let me know.

Also, to ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. We have an excellent article on how to located here: https://wpml.org/faq/provide-debug-information-faster-support/.

NOTE: Please be sure to check the box to indicate you can provide debug info and paste your debug info in the debug field provided, and NOT in the general response field.

December 12, 2018 at 7:35 pm #2994807

davidL-95

Hi. I had same issue.
I resolved synchonizing taxonomy hierarchy in Categories from Woocommerce Multilingual.
I also updated the shop page in all languages.
I hope this can resolve your issue.

Regards.
David Lagos S.
Chile.

The topic ‘[Closed] Woocommerce shop page empty’ is closed to new replies.