Skip Navigation

[Resolved] I added a conditional to a view and it messed up all other languages on my site

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 18 replies, has 3 voices.

Last updated by cristianR-3 1 year, 11 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2511677

Tell us what you are trying to do. I have a WPML and Toolset website. I added a conditional to a view, and the site is no longer working as expected.

Is there any documentation that you are following? I have not found one to help translate conditional items.

Is there a similar example that we can see?

What is the link to your site? hidden link

#2511679

I contacted WPML for support too, but I have not heard from them in two days.

#2512341

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see exactly how this conditional statement and the view are set up in the admin area.

Can you please share temporary admin login details along with the link to the page where this view can be seen?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2512371

Thank you, Waqar.

#2514111

Are you looking into this Waqar, or do I need to seek help with WPML?

#2514401

Thank you for waiting, as we had some unusually busy forum queues, after the weekend.

I've checked the website's settings and they seem to be correct. Also, the translation status of the pages that you've mentioned also looks completed.

To troubleshoot, why the pages in the secondary languages are affected, I'll need your permission to download a clone/snapshot of the website. This will help in performing some troubleshooting steps on the clone, without affecting the actual website.

#2514589

Go ahead and make the compy Waqar. This client is breathing down my neck to resolve this. I know the issue was introduced by using conditional blocks.

#2516039

Thank you for the permission and I've downloaded the website's clone.

I'm currently performing some tests on this clone and will share the findings, as soon as I can.

Thank you for your patience.

#2516973

Do you have any updates?

#2517381

Sorry to be instant. It has been days. If you are unable to help, can I get someone else involved?

#2517531

I can understand the urgency and am sorry to keep you waiting.

We're a little short of hands these days due to the holidays/vacations, but, I'm working on this particular issue only.

Will be able to share detailed updates and findings within the next few hours.

#2518495

Thank you for waiting as this troubleshooting, took longer than I initially expected.

During the investigation, I noticed several errors in the automatic translation service's communication log.

It seems that when you made changes to the view, the automatic translation for the relevant pages couldn't get completed in the background due to these communication issues.

To fix this connection with the automatic translation service, you can follow the steps from this reply:
https://wpml.org/forums/topic/the-advanced-editor-jobs-synchronization-has-failed-4/#post-12430543

After that, please go to WP Admin -> WPML -> Translations and complete the review of any pending translations.
(make sure you're logged in as a user that is set as the translator on the website)

I hope this helps and please let me know how it goes.

#2518741

I followed all the directions. One error did go away, but when I try to review the translations, I get an error. When I simply approve the translations, they still don't display.

#2519241

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Waqar is on vacation and I took over this ticket.

The symptom that you mentioned seems to be similar to the errata below:

https://wpml.org/errata/blank-screen-when-opening-a-toolset-archive-for-a-category-for-the-review/

It is for the categories but it is related to the review issue.

Would you please use that way to complete the review and see if it works?

Thank you.

#2519441

I am using a View to show Custom Filed Groups that I configured for the Pages post type. Everything was working as expected until I introduced a conditional for the price. I flowed your directions. It still does not display.