Sometimes you see this error while saving your changes from divi builder.
To resolve the issue you need to follow these steps.
Step 1:
Check for any new updates for the Divi theme, WordPress, and plugin update all.
Step 2:
Check your page to see if it has any code modules. if yes then check if the code module does not have <script></script> tag or js code inside it, please remove that and then save your changes. Most of the time developers use the code module of the Divi theme to place JS code which is not the right approach. The code module should contain only HTML and shortcode.
Step 3:
If you still see the issue, try deactivating the plugins individually. It could be a plugin conflict.
After following the above step the issue should be resovled.