Hi, thanks for reaching out.
If possible, please, could you open the browser console and take a screenshot of the error? You can upload screenshots to imgur.com or any similar sharing site like Dropbox and send the link.
Thanks again.
https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis
Thank you for your reply, Andrew.
In Chrome the console error is: Uncaught TypeError: $ is not a function
The script causing the error is:
<script type=”text/javascript”>$(“.loss”).click(function(e){$(“.button-main”).addClass(“less_space”);});</script>
I had added this script to the page by using the SiteOrigin Editor. I was able to edit this page using SiteOrigin Editor many times with this script included on the page. Recently, I started getting this js error that prevents me from editing the page using SiteOrigin Editor. In other words, this js error is a new issue but the script causing the error has been on the page for a long time.
Also, the page on the frontend does not have any js errors. Only on the backend (i.e. WordPress admin) do I get this js error.
The site is running these version:
Page Builder 2.14.0
Widgets Bundle 1.23.1
jQuery 3.6.0
jQuery Migrate 3.3.2
Thanks again
Thanks for the update. When able, please, try running a plugin conflict test. Temporarily deactivate all plugins except for:
Page Builder
Widgets Bundle
jQuery Migrate
Temporarily deactivate all but the above plugins. Does the JS error persist in this state?
(It sounds like something has changed…perhaps we can find the cause.)
Great suggestion, Andrew. The conflicting plugin that’s causing the issue is Duplicate Page version 4.4.4
To temporarily fix the issue, I downgraded that plugin to Duplicate Page version 4.4.1
This issue may be related to these:
https://wordpress.org/support/topic/editor-bug-conflict-with-duplicate-page/
https://wordpress.org/support/topic/a-bug-report-of-duplicate-page-plugin-and-a-solution/
@duplicatepagesupport mentioned that they’ll release an update soon. Once their update is release, I’ll check if it resolves my issue. Until then, I’ll use Duplicate Page version 4.4.1
Thank you for your excellent support, Andrew!
Hi. Thanks for the detailed update. I’m really glad to hear you’ve made progress. Thanks for posting your feedback here. In the short term, if you wanted to reactivate Duplicate Page, you could perhaps try the hotfix Alex mentions at the below link:
https://wordpress.org/support/topic/editor-bug-conflict-with-duplicate-page/#post-14894915
As SiteOrigin queries or requests arise in the future, please, let us know.
Cheers for now 🙂
The issue is permanently resolved by updating the Duplicate Page plugin to version 4.4.5
@duplicatepagesupport resolved the issue with this latest update.
Thank you again for the excellent support, Andrew!
That’s great news! Thanks for the update, appreciate it.
If any SiteOrigin queries or requests arise in the future, please, let us know.
Cheers for now 🙂