This thread is resolved. Here is a description of the problem and solution.
Problem:
When using the WPML plugin with the Bricks theme active, clicking the 'Scan now and adjust links' button in the WPML > Settings under 'Update internal links' does not initiate the scan. Instead, a JavaScript error appears in the browser console indicating an issue with the wpml-tm-mcs-translate-link-targets.js script.
Solution:
We identified that the issue is specific to the interaction between the WPML plugin and the Bricks theme. As a temporary workaround, modify the JavaScript file located at sitepress-multilingual-cms/res/js/mcs/wpml-tm-mcs-translate-link-targets.js. Replace the line
const self = this
with
const self = {}. This change was tested and confirmed to resolve the issue on a staging environment. Our development team is working on a permanent fix to be included in a future release.
Please note that this solution might become outdated or may not apply to your specific situation. If this workaround does not resolve your issue, or if you encounter other problems, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, please open a new support ticket for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 9 replies, has 1 voice.
Last updated by 1 month, 1 week ago.
Assisted by: Dražen.
