Title: Errors in editor causing problems
Last modified: December 9, 2024

---

# Errors in editor causing problems

 *  Resolved [GWKaplan](https://wordpress.org/support/users/gwkaplan/)
 * (@gwkaplan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/)
 * I have a local site, with very little elements and I’m having a weird problem
   with the Container block. I ha a Container block on flex row style with several
   elements inside. It has a 20px gap and a margin-top set to 30px and a margin-
   bottom: 40px. After saving margin-bottom and gap disappear if a select the block,
   but if I refresh without saving they come back.
 * I’ve noticed that the console is throwing multiple errors, all related to GB 
   with wrong or deprecated react funtions or methods. It only happens in this development
   local site, but I have GB installed in multiple sites (local and online) and 
   I’m concerned of it happening in more of them.
 * This a screenshot of my console showing the errors I’ve mentioned.
 * [https://ibb.co/XCYXHdS](https://ibb.co/XCYXHdS)
    -  This topic was modified 1 year, 5 months ago by [GWKaplan](https://wordpress.org/support/users/gwkaplan/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [likavan](https://wordpress.org/support/users/likavan/)
 * (@likavan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187384)
 * I have same problem, it’s happened after upgrade from 6.6.2 to 6.7
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187429)
 * Hi there,
 * do you have `SCRIPT_DEBUG` set to `true` in your wp-config.php file? In 6.7, 
   WP enabled safe-mode in React when using SCRIPT_DEBUG, which renders everything
   twice, and can cause weird issues like this to happen. 
 *  Thread Starter [GWKaplan](https://wordpress.org/support/users/gwkaplan/)
 * (@gwkaplan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187442)
 * Yes I do.
 * I’ve checked and that’s the problem. Debug script on conflicts with GB.
 * Ok, any alternative to define( ‘SCRIPT_DEBUG’, true ); for debugging devolpment
   on the editor?
 * Thanks
    -  This reply was modified 1 year, 5 months ago by [GWKaplan](https://wordpress.org/support/users/gwkaplan/).
 *  [likavan](https://wordpress.org/support/users/likavan/)
 * (@likavan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187494)
 * OK, it solve my problem, but for future when i need to debugging script, its 
   not best solution
 *  [likavan](https://wordpress.org/support/users/likavan/)
 * (@likavan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187499)
 * probably this is same issue [https://wordpress.org/support/topic/border-radius-disapear-with-hover/](https://wordpress.org/support/topic/border-radius-disapear-with-hover/)
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187619)
 * The issue will be patched in GenerateBlocks 2.0.
   Thanks for your patience in 
   this matter
 *  Thread Starter [GWKaplan](https://wordpress.org/support/users/gwkaplan/)
 * (@gwkaplan)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187626)
 * Ok, thanks!
    -  This reply was modified 1 year, 5 months ago by [GWKaplan](https://wordpress.org/support/users/gwkaplan/).
 *  Plugin Support [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187653)
 * You’re welcome

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Errors in editor causing problems’ is closed to new replies.

 * ![](https://ps.w.org/generateblocks/assets/icon.svg?rev=3239461)
 * [GenerateBlocks](https://wordpress.org/plugins/generateblocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/generateblocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/generateblocks/)
 * [Active Topics](https://wordpress.org/support/plugin/generateblocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/generateblocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/generateblocks/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 8 replies
 * 3 participants
 * Last reply from: [David](https://wordpress.org/support/users/diggeddy/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/errors-in-editor-causing-problems/#post-18187653)
 * Status: resolved