Overview of the Issue
While saving a post with media items with Bricks builder you might get “Error on save: HTTP code 200”
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
Our developers are working on the case right now.
Please remember to create a backup before you proceed with the code workaround!
To apply the workaround, go to: /wp-content/plugins/sitepress-multilingual-cms/classes/media/duplication/class-wpml-media-attachments-duplication.php
After this line:
$lang = $this->sitepress->get_language_for_element( $post->ID, 'post_' . $post->post_type );
if ($lang == NULL) {
$not_revision = get_post_parent($post->ID);
$lang = $this->sitepress->get_language_for_element( $not_revision->ID, 'post_' . $post->post_type );
}Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question