Closed Gul-liver closed 5 years ago
@Gul-liver is your Polylang language locale also fr_FR - French (France) ? I was wondering whether one of the settings used a different locale of French...
Hello Jon,
Yes, default polylang language is fr_FR: As I said in the support forum, every language is set on fr_FR: general language for site, polylang, profile.
Is there a place where I could find a more verbious log than "cart page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1" ? Something to observe in database ? For example the missing of something ? Thanks a lot.
@Gul-liver
euhh je vois qu'il y a une problème... ici:
"Il y a des articles, pages, catégories ou étiquettes sans jeu de langue"
appuyez clic sur "Vous pouvez leur attribuer la langue par défaut" et depuis nous verrons si tout est corrigé
if the default shop pages do not have a language set that would explain why the api is not returning results, the api cannot find the page in French because the page is not actually associated with the French language..
Hello Jonathan,
YES ! Indeed, it was the issue ... this warning appeared long ago in polylang. I knew that some items (test page, or products) were not finalized and it has never been a problem because all my important page are assigned to a language and are translated (shop, cart page, etc ...). It seems the latest Polylang and / or the latest Hyyan polylang integration plugin do not bear anymore having page, article, product not having a default language. This is new.
Thank a lot for your help, as it used to work I did not think it could have come from there. NO BUG ! Best regard
Hello,
Problem with persistent admin notice which alerts about cart, checkout, shop, my acount page in base language: cart page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1 checkout page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1 myaccount page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1 shop page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1
Can you reproduce this issue on default Wordpress theme (eg Storefront)?
It occurs on admin side. Everything seems ok for frontend.
Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?
Yes, same admin notice.
What product versions and settings are you using when this issue occurs?
By the way: 2 languages: french by default (with the star), and english. But it’s been missing some translations for a long time, and it has never been a problem. Site language: is french in WordPress, Settings, General User language of admin user is french in /wp-admin/profile.php
Steps to Reproduce
What I Expected
Nothing special
What Happened Instead
Admin notice on top of wordpress dasboard which alerts on issue about woocommerce page. For example: cart page in base language fr_FR was not found and was created using woocommerce create_pages() as page -1
with "page -1" which is a versatile link towards the present page
WordPress Environment