Every time a new post copy is created

Let’s assume that you have crossposted “Hello world” post to “Site 2” and then you would like to make some changes in that post. But every time you hit “Update” button a new post copy is created on “Site 2”.

Post duplicates are created every time you update a post

The main reason why this could happen is because your Site 2 (where post copies are being created) returns something wrong in its REST API response body, usually – PHP Warnings.

So, please open wp-config.php file on Site 2 and setWP_DEBUG constant to false:

define( 'WP_DEBUG', false );

Or better use debug.log file for your PHP Warnings and errors.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Another possible scenario – one of the activated plugins on sub-sites creates that kind of issue. Try to deactivate the plugins one by one and see what will happen. One of the plugins that sometimes may create an issue – Yoast SEO.

Need more help?