This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a 500 internal server error when clicking the "Original anzeigen" link in WPML > Translation Management > Aufträge, and the URL appears malformed like this:
https://www.studium.uni-mainz.de/wp-admin/%3Ca%20href=%22https://www.studium.uni-mainz.de/?gf_page=preview&id=1%22%20target=%22_blank%22%3E%3C/a%3E
, it's likely due to an issue with HTML hyperlink formatting in the URL after upgrading to Gravity Forms Multilingual 1.8.0.
Solution:
We recommend modifying the code in your Gravity Forms Multilingual plugin. Specifically, you should edit the file located at
.../wp-content/plugins/gravityforms-multilingual/inc/gravity-forms-multilingual.class.php
.
Find the line 267 and replace:
$post_view_link = sprintf( '<a href="%s" target="_blank">%s</a>', get_home_url() . '/?gf_page=preview&id=' . $form_id, $label );
with:
$post_view_link = get_home_url() . '/?gf_page=preview&id=' . $form_id;
This change should correct the URL and resolve the error.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.
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 3 replies, has 2 voices.
Last updated by 11 months, 4 weeks ago.
Assisted by: Shekhar Bhandari.