Problem: Client was experiencing a fatal error (Fatal error: Uncaught Error: Call to a member function get_source_language_code()), when trying to translate a page automatically.
Solution:
There seemed to be the problem with page's records in DB, perhaps corrupted, which we fixed with the following steps:
1. Open the product for editing in the default language. 2. Switch to the target language using the top admin language bar. 3. Click "Copy content from [default language]" and then save. 4. Repeat these steps for each language you want to translate to. 5. Go to WPML -> Translation Management and send the product for automatic translation again.
Problem: The client is experiencing an issue where the German homepage redirects to the default language homepage. Solution: 1. We recommend checking if the German homepage status is set to 'Published' and not 'Draft'. This can be confirmed by seeing if the issue persists when logged into the site. If the page works correctly for logged-in users, changing the status from 'Draft' to 'Publish' should resolve the issue. 2. We also noticed the 'Redirect Redirection' plugin is installed. It's advisable to check if any redirections have been set up using this plugin and consider disabling it temporarily to see if that solves the issue.
당사는 웹사이트와 서비스를 최적화하기 위해 쿠키를 사용합니다.
사용자의 동의를 통해 탐색 행동과 같은 데이터를 처리할 수 있습니다.
동의하지 않으면 일부 기능에 영향을 미칠 수 있습니다.
기능적
항상 활성화
웹사이트가 올바르게 작동하고 통신하는 데 필요합니다.
기본 설정
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
통계
당사는 이를 사용하여 사이트의 통계를 분석합니다.
수집된 정보는 완전히 익명으로 처리됩니다. 익명 통계 목적으로만 사용되는 기술적 저장 또는 접근입니다. 소환장, 인터넷 서비스 제공자의 자발적인 협조 또는 제3자의 추가 기록 없이, 이 목적으로 저장되거나 검색된 정보는 일반적으로 귀하를 식별하는 데 사용할 수 없습니다.