SOLVED: Polylang - All archives are broken of the primary language - language switch not working

Unfortunately it is gotten worse with Polylang with 1.9.8. Beside that the search on the primary language still outputs results of the secondary language , more worse is that all product archives of the primary language are broken. One can not switch the language on the shop page anymore and a lot of product categories are missing products / are completely empty. Again this topic is chasing me since a Novemeber 2023 and my impression is that Bricks can not handle that the primary language is missing the /en/ slug.
image
I would really love to see an end to this topic.

//Edit: Further testing. Deactivated all plugins but WC/Polylang switched from Child to Bricks Theme. The primary language site is broken. Language switch is not working and product categories broken or empty. Console does not output any errors. Interestingly that the Blog archive is unaffected. The same issue with different Bricks release also affected the Blog archives.

Hi @Mike8040 ,

Thanks for reporting this issue.

I think you linked to the wrong thread, the search should be related to this thread right? SOLVED: Search element, 404 error for second language result page (Polylang) - #9 by timmse

We will check the search issue again and update in that thread.

Back to this topic, please provide admin access for us to check.

By the way, if you want Polylang work with WooCommerce, did you install Polylang for WooCommerce?

Regards,
Jenn

Linked the wrong thread. A lot of issues to check… I’m sorry. I considered it a given that Polylang for WC is used. It is installed and no the reason for that issue. I email the support.

Hi Mike,
We’ve fixed this issue in Bricks 1.9.8, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.9.8 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

Ok. Seems fixed. One needs to take care of not having exclude and include conditions for the query at the same time. Though I did exclude different categories then I included.

1 Like