Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#41691 closed defect (bug) (invalid)

JavaScript Error in tinymce

Reported by: chrisseiler's profile ChrisSeiler Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8.1
Component: TinyMCE Keywords:
Focuses: javascript, administration Cc:

Description

I am using Wordpress Version 4.8.1 in conjunction with the Live Composer plugin. Using this combination I am getting the following error message:

JavaScript error detected in a third-party plugin
TypeError: undefined is not an object (evaluating 'c.selection.getNode')
File "http://www.christianseiler.ch/wp-includes/js/tinymce/wp-tinymce.php?c=1&ver=4603-20170530", line 55, char 956

Change History (5)

#1 @SergeyBiryukov
6 years ago

Hi @ChrisSeiler, welcome to WordPress Trac! Thanks for the ticket.

Has this been reported to Live Composer plugin support?

#2 follow-up: @ChrisSeiler
6 years ago

Yes, I have and the replied with the list below. I've done all of it, even completely reinstalled wordpress and live composer.

  1. Open your website for editing in a private/incognito mode. Let me know if it's any different.
  2. Try to deactivate all the other plugins for a minute and see if LC works as expected? This way we can tell if any other plugins cause the issue.
  3. Try to activate a default WP theme for a minute and see if LC works as expected? This way we can tell if there is a problem with your theme.
  4. Update the plugin to the last version.

#3 in reply to: ↑ 2 @subrataemfluence
6 years ago

I have installed Live Composer plugin. Would you please tell me the steps to reproduce the error you mentioned?
So far I am not able to see this error popping up in console for any action I did inside tinymce editor. Live Composer is the only installed plugin I have at the moment. Thank you!

Replying to ChrisSeiler:

Yes, I have and the replied with the list below. I've done all of it, even completely reinstalled wordpress and live composer.

  1. Open your website for editing in a private/incognito mode. Let me know if it's any different.
  2. Try to deactivate all the other plugins for a minute and see if LC works as expected? This way we can tell if any other plugins cause the issue.
  3. Try to activate a default WP theme for a minute and see if LC works as expected? This way we can tell if there is a problem with your theme.
  4. Update the plugin to the last version.

#4 @ChrisSeiler
6 years ago

  • From the Pages Overview, hover the mouse over an existing page.
  • Click "Open in Page Builder"
  • Click "Edit in Live Composer" in the lower right side corner
  • In the lower left corner you will see two tabs for the blue bar; in addition I there get the following message http://resources.christianseiler.ch/LiveComposer1.png
  • Upon Clicking this message I get the Message http://resources.christianseiler.ch/LiveComposer2.png

#5 @azaozz
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

@ChrisSeiler not sure what's causing all the errors but pretty sure there is no error in the wpgallery TinyMCE plugin (where the original JS error points at). Quite sure there is no js error in Jetpack's Grunion too (where the second error message seems to point). My guess would be that something doesn't fully load or some js errors happen before that.

If this is still happening perhaps add define( 'SCRIPT_DEBUG', true ); to your wp-config.php to see the exact error locations.

Closing as invalid for now. Feel free to reopen with more info on how to reproduce.

Note: See TracTickets for help on using tickets.