Hi @arbpen,
you make my day. I have the same bug on one site. The fact that you reported the bug is great. It just saved me hours of troubleshooting.
Thx 8)
Plugin Contributor
alexgso
(@alexgso)
Hi,
I’ve run a few tests and I’ve identified why this is happening. It’s due to Duplicate Pages usage of the_content filter to format some of the Duplicate Page link in the Classic Editor post meta box. This filter typically isn’t used in WP Admin outside of previewing so we haven’t accounted for this usage. I’ve come up with a temporary fix in the form of a PHP snippet that you can apply to avoid this issue.
If you don’t have a method of adding PHP, you can use the Code Snippets plugin. Once installed, please navigate to Snippets > Add New and add the following PHP:
add_action( 'post_submitbox_misc_actions', function() {
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_false' );
}, 9 );
add_action( 'post_submitbox_misc_actions', function() {
add_filter( 'siteorigin_panels_filter_content_enabled', '__return_true' );
}, 11 );
Set the script to only run in the admin, and then click Save Changes & Activate.
If you do have a method of adding PHP, please add the above PHP using that method.
Kind regards,
Alex
Thread Starter
arbpen
(@arbpen)
Hi @alexgso, thanks for getting back to us. So this is something really on Duplicate Page’s end that they should fix in their next update, correct? I would rather leave the plugin inactive until they have an update. With your permission, I would like to post your answer to the Duplicate Page’s forum so they know it’s a problem on their end.
Plugin Contributor
alexgso
(@alexgso)
Hi arbpen,
I wouldn’t say that exactly as there’s a case for either plugin being at fault.
We’ve reached out to the developers of Duplicate Page directly about this issue. Your welcome to post a thread about it though.
Kind regards,
Alex
Thank you Arbpen, your post confirmed my suspicions.
I had exactly the issue you describe on one of my major sites. The only difference was that only some of the pages were affected, even though all pages were built using Page Builder by Site Origin.
I have used the Duplicate Page By mndpsingh287 plugin for a number of years with no issues and I guess that the recent update to the plugin well may be responsible for this conflict.
Hi there,
I have the exact same issue. And I cannot save any edits to the Home page. If I do save the home page most of the block just disappear.
As I deactivate Duplicate Page plugin, the issue disappears.
f
Hi Francois, thanks for reaching out. Kindly, see the reply above from Alex containing a fix.
https://wordpress.org/support/topic/editor-bug-conflict-with-duplicate-page/#post-14894915
This is a temporary fix, right? I’m hoping an official fix will make it into the next version. 🙏
Plugin Contributor
alexgso
(@alexgso)
Hi Joshua,
The provided fix is a temporary workaround until it’s resolved in a Duplicate Page update. Fixing this directly in Page Builder could result in further issues due to how specific we need to be with a proper fix which is tricky as the underlying issue is quite general so it’s likely other issues may unintentionally be introduced.
A fix in a Duplicate Page update will resolve this issue and remove any chance of any compatibility issues.
Kind regards,
Alex
Thanks for this. I have the same issue. I deactivated the Duplicate Page Plugin and the problem was solved. Hope they get onto it soon.