Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws a warning when updating post and etc #147

Closed
kiwimarc opened this issue Oct 21, 2020 · 17 comments
Closed

Throws a warning when updating post and etc #147

kiwimarc opened this issue Oct 21, 2020 · 17 comments

Comments

@kiwimarc
Copy link

kiwimarc commented Oct 21, 2020

image
I'm using wordpress version 5.5.1 and classic editor version 1.6.
When I want to update a page. post or etc it throws warning showed in the image. It does save the changes, but I would still prefer if the warning wasn't popping up.

@jeffpaul
Copy link
Member

@kiwimarc does that message also appear when saving or publishing a post/page/etc or just updating one?

@kiwimarc
Copy link
Author

It only comes up if I previous had saved it or published it.

@jeffpaul
Copy link
Member

@kiwimarc I'm not able to reproduce that. Can you share other plugins that are installed in case one of them is contributing to this?

@kiwimarc
Copy link
Author

  • Advanced Custom Fields
    Version 5.9.1
  • Checkout Field Editor for WooCommerce
    Version 1.4.4
  • classic editor
    Version 1.6
  • Companion Auto Update
    Version 3.7.0
  • Contact Form 7
    Version 5.3
  • Cronjob Scheduler
    Version 1.40.1
  • Elementoir
    Version 3.0.12
  • Essential Addons for Elementor
    Version 4.3.3
  • EventON
    Version 2.9.1
  • EventON - Dynamic Pricing
    Version 0.6
  • EventON - Event Tickets
    Version 1.8.6
  • EventON - Ticket Variations & Options
    Version 0.8
  • FileBird
    Version 3.9
  • Gutenberg
    Version 9.2.1
  • Import Users from CSV
    Version 1.0.1
  • Insert Pages
    Version 3.5.7
  • Insert PHP Code Snippet
    Version 1.3.1
  • Ivory Search
    Version 4.5.9
  • Max Mega Menu
    Version 2.9.1
  • Members
    Version 3.1.3
  • Menu Image
    Version 2.9.7
  • My Database Admin
    Version 1.1.21
  • Peter's Login Redirect
    Version 2.9.7
  • Photonic Gallery & Lightbox for Flickr, SmugMug, Google Photos & Others
    Version 2.45
  • PublishPress Capabilities
    Version 1.10.1
  • Recent Posts Widget Extended
    Version 0.9.9.7
  • Redirection
    Version 4.8
  • Relevanssi
    Version 4.8.3
  • Role Based Price For WooCommerce
    Version 3.3.7
  • Role Based Redirect
    Version 1.2
  • Simple Local Avatars
    Version 2.1.1
  • Sponsors Carousel
    Version 4.02
  • Username Changer
    Version 3.2.2
  • WooCommerce
    Version 4.6.1
  • WooCommerce Admin
    Version 1.6.2
  • WooCommerce E-Transactions Payment plugin
    Version 0.9.8.6
  • WooCommerce Memberships
    Version 1.16.5
  • WooCommerce Menu Cart
    Version 2.9.6
  • WP Latest Posts
    Version 4.8.4

@Capitanbasa
Copy link

  • Elementoir
    Version 3.0.12

are you using both elementor and classic editor? i mean sometimes you use elementor and sometimes classic editor?

@kiwimarc
Copy link
Author

Yes I use both.

@Capitanbasa
Copy link

Yes I use both.

have you try clearing your browsers cache

@azaozz
Copy link
Contributor

azaozz commented Oct 29, 2020

Hmmm, this is a pretty strange error message. The second line: "The comment changes you made will be lost." doesn't exist in WP, and (as far as I see) it's not in any plugin that's in the repo. Think the key to finding what causes this is to find the plugin that contains that line.

@kiwimarc
Copy link
Author

Yes I use both.

have you try clearing your browsers cache

Yes, I have tried it on:
Safari - Mac and Iphone
Chrome - Windows and android
Edge - Windows

@kiwimarc
Copy link
Author

kiwimarc commented Oct 29, 2020

Hmmm, this is a pretty strange error message. The second line: "The comment changes you made will be lost." doesn't exist in WP, and (as far as I see) it's not in any plugin that's in the repo. Think the key to finding what causes this is to find the plugin that contains that line.

The problem is that I only get this error message when classic editor is active. If I deactivate it, the error disappears.

@azaozz
Copy link
Contributor

azaozz commented Oct 30, 2020

I only get this error message when classic editor is active.

Perhaps I'm misunderstanding something. Where exactly do you see this error?

  • On the new Edit Post screen (block editor/Gutenberg).
  • On the old Edit Post screen (classic editor/TinyMCE).
  • Somewhere else?

@kiwimarc
Copy link
Author

I only get this error message when classic editor is active.

Perhaps I'm misunderstanding something. Where exactly do you see this error?

  • On the new Edit Post screen (block editor/Gutenberg).
  • On the old Edit Post screen (classic editor/TinyMCE).
  • Somewhere else?

On the old Edit Post screen (classic editor/TinyMCE) and on the new Edit Post screen (block editor/Gutenberg) if the plugin is active

@azaozz
Copy link
Contributor

azaozz commented Dec 13, 2020

@kiwimarc I can't figure out where that error message is coming from. Could you download all of your plugins (if you don't already have local copies), then run a text search on all files.

Looks like TinyMCE may be initialized on a textarea that is intended to edit comments, perhaps? And after the initialization somehow that textarea value is changed. That's just a guess, to get to the bottom of this will need to look at the code doing it :)

@themc-george
Copy link

I see it in wp-admin/js/edit-comments.js

@kiwimarc
Copy link
Author

kiwimarc commented Mar 7, 2022

@kiwimarc I can't figure out where that error message is coming from. Could you download all of your plugins (if you don't already have local copies), then run a text search on all files.

Looks like TinyMCE may be initialized on a textarea that is intended to edit comments, perhaps? And after the initialization somehow that textarea value is changed. That's just a guess, to get to the bottom of this will need to look at the code doing it :)

Oh wow, I have first now seen that you replied.
But as @themc-george says its in the wp-admin/js/edit-comments.js

@themc-george
Copy link

i created a bug ticket: https://core.trac.wordpress.org/ticket/55332

@kiwimarc
Copy link
Author

kiwimarc commented Mar 8, 2022

@themc-george Great, I will close this ticket because its wordpress that have the issue :)

@kiwimarc kiwimarc closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants