Title: Editor console warning
Last modified: August 15, 2022

---

# Editor console warning

 *  Resolved [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/)
 * Hi just thought I’d let you know that I noticed an warning in the Javascript 
   console when in the block editor:
 *     ```
       react-dom.js?ver=17.0.1:61 Warning: Invalid DOM property 'fill-rule'. Did you mean 'fillRule'?
           at path
           at svg
           at span
           at div
           at s (http://localhost:8500/wp-content/themes/blocksy/static/bundle/32.6b6e363eda9a039182ed.js:1:219)
       ```
   
 * Thanks
    -  This topic was modified 3 years, 9 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).

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

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15917054)
 * Hi [@codeamp](https://wordpress.org/support/users/codeamp/)
 * Could you please get back to us with a little bit more detail on this one? How
   did you replicate the issue? I have checked the editor thoroughly and couldn’t
   replicate it.
 * Waiting on your reply 🙂
 * Thanks!
 *  Thread Starter [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15917841)
 * Hey [@cteduard](https://wordpress.org/support/users/cteduard/)
 * This is just on my dev environment. I double checked with the following setup:
 * – Latest WP
    – No plugins enabled – Blocksy theme – Sample content generated 
   from FakerPress plugin (and disabled)
 * Here is a video:
    [https://drive.google.com/file/d/1R61Nugd4npS9GBK7D9QvkXRSKKsZD9Ue/view?usp=drivesdk](https://drive.google.com/file/d/1R61Nugd4npS9GBK7D9QvkXRSKKsZD9Ue/view?usp=drivesdk)
 * Thanks
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15918036)
 * Hi [@codeamp](https://wordpress.org/support/users/codeamp/)
 * Ok, so I just verified this with our developers and on a clean install with faker
   press we cannot replicate this issue at all. Check this short video out — [https://streamable.com/saaa8j](https://streamable.com/saaa8j).
 * I’m thinking there might be some kind of caching issue or something with the 
   localhost setup? Have you tried reinstalling the theme from scratch? Just delete
   the folder and reinstall it from the wp store.
 * Thanks!
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15921726)
 * Hi [@codeamp](https://wordpress.org/support/users/codeamp/)
 * Just a kind reminder about this thread. Have you been able to verify the issue?
   🙂
 * Thanks!
 *  Thread Starter [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15923490)
 * Hey [@cteduard](https://wordpress.org/support/users/cteduard/)
 * So I tested it on a clean install, and didn’t see the issue immediately upon 
   going to the editor.
 * I did delete blocksy and re-install on my dev (pretty clean) install and the 
   issue came back.
 * Switching to another theme made the issue go away.
 * I’m not 100% sure what’s causing this, this install doesn’t have any plugins 
   enabled or custom code running.. And it is only a warning, not an error.
 * But still I’m curious… Looking at the bundled JS file: `themes/blocksy/static/
   bundle/32.6b6e363eda9a039182ed.js`
 * I can see `"fill-rule": "evenodd"`, and if that is being used in a React component
   as a prop (it looks like it is) then the warning imo is valid, a React component
   should have the prop`fillRule` instead (on the SVG I’m guessing).
 * Anyway, I’m not sure the conditions to replicate the warning, but my guess is
   based on looking at the code, the warning is valid…
 * Not sure that helps a lot!
 * FYI, I am just testing Blocksy (amongst other themes) for compatibility with 
   a plugin I’m building.
 * Thanks
    -  This reply was modified 3 years, 9 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).
 *  Theme Author [Creative Themes](https://wordpress.org/support/users/creativethemeshq/)
 * (@creativethemeshq)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15924569)
 * [@codeamp](https://wordpress.org/support/users/codeamp/) Thanks a lot for your
   input.
 * The `fill-rule` prop in that file is only in one place — in the notification 
   that Blocksy theme displays about the missing Companion plugin: [https://share.cleanshot.com/ckOfmh](https://share.cleanshot.com/ckOfmh)
   
   This particular one will be fixed.
 * But, this doesn’t explain why you get this error in the block editor. This notification
   is not rendered at all on that screen.
 * Anyways, if you manually edit `fill-rule` to `fillRule` in `themes/blocksy/static/
   bundle/32.6b6e363eda9a039182ed.js`, does the error go away in the block editor?
   
   If it does, next update of the theme will have that fixed completely.
 * Thanks again for your help.
 *  Thread Starter [Code Amp](https://wordpress.org/support/users/codeamp/)
 * (@codeamp)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15930985)
 * Strange, without explanation, the error has dissapeared…
 * I dismissed the notice, then deleted the option (for the dismissed notice) from
   the options table, and now I can’t reproduce.
 * My best guess as to why maybe this notice was triggering was I was creating posts
   using a plugin that generated them for the classic editor.
 * Anyway, I’ve see you’ve closed this, and I can no longer reproduce, so probably
   best to leave it that way!
 * Cheers
    -  This reply was modified 3 years, 9 months ago by [Code Amp](https://wordpress.org/support/users/codeamp/).

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

The topic ‘Editor console warning’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.44/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

## Tags

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

 * 7 replies
 * 3 participants
 * Last reply from: [Code Amp](https://wordpress.org/support/users/codeamp/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/editor-console-warning/#post-15930985)
 * Status: resolved