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 thread is resolved. Here is a description of the problem and solution.

Problem:
User was unable to have a parent category for its product categories. As soon as a category is parent the korean shop became blank.
Solution:
The theme is not fully compatible with WPML. Change line 158 in wp-content/themes/fury/framework/fury-actions.php to:

echo '<li><a href="'. esc_url( get_term_link( intval( $subcategory ), 'product_cat' ) ) .'">'. esc_html( $term->name ) .'</a></li>';

Please note the intval( $subcategory ) .

Author Posts
April 11, 2019 at 5:48 pm #3591653

kyung-miL

Hi
My site was working fine for English and Korean contents.
But suddenly I can not see any of the Korean contents.

Turned out it happened after I change something with the WooCommerce.
Giving products categories a 'parent category' made things not working.

Can you check in your lab if you can reproduce the issue?
I hope I can get a patch for it.

April 12, 2019 at 10:17 am #3597545

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for contacting WPML Support. I will be glad to help with this.

I created a new server to test this issue, please try to reproduce it and i'll evaluate if it needs the attention of our developers.
The server has all WPML plugins and WooCommerce installed, please configure WPML and try to reproduce this. Credentials are in the private message.

A side question: If you don't use parent category in your website, does the korean content reappear ?

reply

Best regards,
Jamal
WPML Support

April 15, 2019 at 12:59 pm #3613579

kyung-miL

Thanks Jamal,

Regarding your question, yes, without parent category, it show Korean contents very well..

You want me to reproduce the issue on your setup?, please share it, I will try.
Please mail to 'admin@yougotinterview.com' for login details.

Thanks,
Bruce

April 16, 2019 at 7:55 am #3619367

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Our apologies for the late reply. I just sent you the credentials in email. Please note that the credentials are available in my private message of APRIL 12, 2019 AT 10:17 AM.

Looking forward to you reply.

Best regards,
Jamal

April 16, 2019 at 12:38 pm #3622109

kyung-miL

Hi Jamal,

In the middle of reproducing the issue, I found it maybe the problem with specific theme I used.
I was not done with creating menues and and other data, but after installing a theme your site doesn't show anything.

I am not sure if this is the root cause or not, but I am not able to continue anyway.

Hope this helps for your investigation.

Thanks,
Bruce.

April 16, 2019 at 4:03 pm #3623849

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

My apologies for the late reply.
Maybe it was just a temporary performance hit. As you can see in the attached images, i was able to access the test server. and the Fury theme is installed.

Would you like to continue the manipulation to reproduce the error ?
Would you please note the steps to follow, so i would be able to follow and also test if needed, our developers may need these steps too.

Thank you for your collaboration.

Best regards,
Jamal

April 16, 2019 at 4:27 pm #3624031

kyung-miL

Jamal,
I can also login to admin page, but if you visit the site itself, it still shows nothing.
hidden link

I think that's the first blocker you might be interested.

April 17, 2019 at 10:00 am #3629331

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

I think it is an issue with the theme. It was not correctly rendered. See image attached.

I switched temporariraly to Storefront theme. Would you like to reproduce the error in this theme ?

Best regards,
Jamal

April 17, 2019 at 12:03 pm #3630453

kyung-miL

Hi,
With your theme, I couldn't reproduced the issue. Only thing I found is that language switcher doesn't show korean option. That's it.

On the contrary, my site shows that theme with no problem. Problem happens only when I make the products have parent category. If I remove parent category, it works fine again.

Thing is, I want to use this theme, it does not require much effort but show the sliders pretty as I want. Even though it does not support translation for the texts for each slider panes and buttons.

April 17, 2019 at 4:56 pm #3633147

kyung-miL

Thank you, Jamal.

I think the issue is reproduced.
Even though I saw 'database connection error' while updating the product category, it shows same symptoms.

Korean contents are not shown if I set parent category. If I remove it, it shows correctly.

Please check korean contents, pages, posts, etc.
hidden link

April 18, 2019 at 3:15 pm #3640385

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thanks for your feedback and my apologies for the late reply.
When i visit the english shop page, it is blank, and the korean shop page renders but without any products.

Can you please describe the actions you do do reproduce the error ?
Can you also provide a user and password so i can connect ?

I will perform my tests on the migrated website.

Best regards,
Jamal

April 18, 2019 at 3:20 pm #3640395

kyung-miL

Hi,
Yes, the shop is for only Korean speakers.
The symptom is exactly same as my site.

Only thing that make this problem is to have parent category.
But as you know, I was not able to reproduce on your first setup.
So I thought it's mainly because of the Theme.

Because it's showing exactly the same symptom,
I think you can do whatever the test on your setup.

But if you still want to check my site,
please let me know.

April 18, 2019 at 3:36 pm #3640435

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Please share access to your website, i will use them to test on our migrated site, as it holds now a copy of your database, the user that i already created was removed.
Let me know if you don't have a password. I'll try to create a user programmatically, but this does not succeed every time depending on the security setup of each website.

Best regards,
Jamal

April 19, 2019 at 11:43 am #3645475

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

Thank you for the access. Unfortunately, we are encountering some issues with the migrated server and i am getting a 500 error.
Would you allow me to install Duplicator on your site and take a snapshot to troubleshoot locally, it will also be helpful if i needed to escalate this issue to our developers.
My apologies for the inconvenience.

Best regards,
Jamal

April 19, 2019 at 11:48 am #3645499

kyung-miL

Hi Jamal,
Ok, please do.
Once you're done with duplication, please let me know.