Not working since Polylang update v2.0.5
Eric007BK opened this issue · 16 comments
Hello
The plug-in not working on my website since I updated to Polylang v2.0.5
Any help would be appreciated.
Best regards
What part does not work? Is it the posts or the pages? What happens instead? Do you get a 404 page or do you get directed to the default language page?
I have the problem only on page with same slug in english and in french.
before update
https://www.bloominthenaturalway.com/fr/contact/ --> https://www.bloominthenaturalway.com/en/contact/
https://www.bloominthenaturalway.com/fr/travellers-paradise/ --> https://www.bloominthenaturalway.com/en/travellers-paradise/
after update
https://www.bloominthenaturalway.com/fr/contact/ -->
https://www.bloominthenaturalway.com/fr/contact/
https://www.bloominthenaturalway.com/fr/travellers-paradise/ --> https://www.bloominthenaturalway.com/fr/slide/travellers-paradise/
The contact page seems to be working again.
I tested the update on my site and it was working fine.
Have you tried refreshing the permalinks by accessing the permalink page?
Could the cause be another plugin that you installed at the same time?
FYI WordCamp Bordeaux is taking place on 17 mars 2017.
Hi
I made some tests, i disabled all the plugins, it's a problem between Polylang+Polylang-Slug and W3 Total Cache since Polylang 2.0.5 update.
Best Regards
I am not sure that I want to support W3 Total Cache. https://wptavern.com/high-risk-xss-vulnerability-discovered-in-w3-total-cache-plugin
Would be interesting to know if it works in the fork. https://github.com/szepeviktor/fix-w3tc
Thanks for the link to the fork.
I tested it and i have same issue.
I'm going to investigate to find the functionality in W3 Total Cache causing this bug.
The "Object Cache" via disk feature of W3TC causing this bug since Polylang 2.0.5
I think this may be commit that is causing the issues. polylang/polylang@e666c78
Polylang 2.0.5 was a small update with not alot of changes.
I have a very similar problem, that I submitted somewhere else.
my site lemagcinema.com is redirected to lemagcinema.fr by w3totalcache, but I don't know where. I deactivate the object cache, empty the cache and try again, but it wasn't solving the issue...
(https)
A fix is foreseen ? Because as for it I will have to choose between polylang and W3TC, and I am afraid it will be W3TC ...
@lemagcinema
So when you disable "Polylang-Slug" it works?
Does it work when you disable "W3TC"?
What is your default language in Polylang?
Have you measured the time to load the site with W3TC enabled and disabled?
Thank you for answering the questions.
Is polylang slug another name of polylang or something else ?
It works when W3TC is disabled, and it used to work when it was previous version of polylang and the site was not in https (don't know which one was the origin of the problem)
default langage: french.
time to load the site is largely better with W3TC enabled. (/2 at least)
Polylang Slug is an addon plugin for Polylang. The support forum for Polylang can be found here: https://wordpress.org/plugins/polylang/
ok, sorry for the mistake (the issue is so similar) but I desesperate since I 've already reported the bug but nobody is taking care of that case ... As if I was the only one to get this trouble...
I have tested WP 4.9.6 and Polylang 2.3.6 and it works fine for Posts and Pages.