WordPress 6.4 broke Polylang | WordPress.org

I seem to have the same problem as you, however my posts or pages do not return 404 errors, they return the content of the home page. I fixed it by saving the polylang permalink related settings again. However, this fix is ​​only temporary. If you take other actions related to updating data on the website, the above error seems to occur again.

I finally found a solution.
After flushing permalink dozen of time, changing link format, nothing happen.

And I discover my Polylang for Woocommerce was a really old version, updating this plugin solved my problem

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer