Cornerstone and WPML issues

I know there are problems with the auto translate of pages with WPML so I have tried to just create the translation in cornerstone for this page https://axisstars.com/about/. In the backend all of it is correct but on the FR version of the page that shows on the frontend, it is randomly showing some bits of English. Also the formatting is different even tho I created a template of the english page and loaded that to the french one. can you help?

Hello @bca,

Thanks for writing in!

How did you translate it? Please translate it similar to this https://www.dropbox.com/s/5oq0a5f7s2fd852/CornerstoneTranslation.mp4?dl=0

If it’s through the new translation feature of WPML, then there is a chance that it may break the shortcode structure, plus, it’s not fully compatible with v2 elements.

If the above solution does not help, this might be a problem with the original page creation and not related to WPML. Would you please kindly test the point below first and get back to us with the result?

  1. Create a backup of your website.
  2. Install this plugin.
  3. Use the plugin to clone the homepage.
  4. Disable all plugins including WPML except the Cornerstone plugin.
  5. Test the cloned homepage and get back to us with the result.
  6. Also please kindly test other previously added pages so we know if it is an only homepage problem or other pages have the same problem.

If the problem is happening only on the homepage, please check the cloned version of the homepage and delete the sections one by one and see if it fixes the issue. That way you will find the problematic section and you will recreate that section.

Thank you.

Hi

I have never had this problem before. I deleted the French about page and copied it again as you suggested and it still brings the headlines through in English. I did it manually rather than using WPML. I can’t really deactivate all our plugins as we have them for various functionality on the site. Is there no other way you can help me?

Thanks

Hi @bca,

The reason behind the fact that my colleague asked for the test is to isolate the problem cause this is not what we see on our installation and this must be something related to your environment.

I suggest that you consider creating a staging version of your website to do the test without the fear of disrupting the normal functionality of your live website. You can follow the guide below:

Thank you for your understanding.

Hi

Apparently this error is happening

PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/models/class-model-content-content.php:91\nStack trace:\n#0 /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/models/class-model-content-content.php(91): Exception->__construct(‘cornerstone’, ‘Unauthorized’)\n#1 /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/models/class-model-content-content.php(53): Cornerstone_Model_Content_Content->make_record(NULL)\n#2 /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/controllers/class-controller-adapter.php(35): Cornerstone_Model_Content_Content->query(Array)\n#3 /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/common/class-router.php(622): Cornerstone_Controller_Adapter->__call(‘content/content’, Array)\n#4 /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes in /nas/content/live/axisstars/wp-content/plugins/cornerstone/includes/classes/models/class-model-content-content.php on line 91

Any advice?
Thanks

Hi @bca,

Would you please kindly get back to use with the URL/User/Pass of your website and also FTP connection details to be able to investigate the issue that you are experiencing?

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.