• I recently updated my website to 4.3, which resulted with an error that causes my visual editor to freeze each time I try to select a piece of text, or even place my cursor on a line of text in order to delete/change something. This lasts only for couple of seconds, but happens again if I try to select different piece of text.

    When the editor freezes, console on chrome displays following message:

    Uncaught RangeError: Maximum call stack size exceeded -- tinymce.min.js?ver=4203-20150730:7

    I’m not completely sure, but it seems that this only happens on text contained in HTML tables. I organize my content using very simple 2×1 tables, and until now everything worked flawlessly.

    So I’m writing here in hope that someone more experienced than me encountering this same error, as my knowledge is very limited.

    Worth mentioning is that I have a test website running on 4.2.3 on the same theme and database, and everything works fine there.

    PS – It seems that the whole styling of HTML tables changed with the latest patch also. On 4.2.3 if I have a 100x200px photo in a left cell, and couple of paragraphs in the right cell, – the left cell width matches the width of the photo.
    But in 4.3 the more text I have in the right cell, the left cell becomes narrower and ignores the width of the photo contained in it. This only happens in visual editor, because on the front end everything looks fine.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.

    Thread Starter dankop

    (@dankop)

    Hi Tara, thank you for helping out.

    I did try deactivating all of my plugins, and I cleared the Cloudflare cache and my browser cache. Also tried switching themes to Twently Eleven to see if that solves anything, but with no luck. I’m only using three plugins right now – Disqus, Contact Form 7, and Yoast SEO.

    As I’ve said, I’m also running a local copy of the website with the exact same theme, plugins and database, but on 4.2.3 patch – and everything works fine there. Just to try it out, I updated it to 4.3 and the exact same error started happening, so I’m guessing it’s something to do with the latest patch.

    Another thing that I noticed is that the cpu usage on my computer goes to 60-70% when the editor freezes. Not sure if this is of any importance.

    Anyways, I guess I’ll trying installing manually next. Thanks for you suggestions.

    Thread Starter dankop

    (@dankop)

    Okay, I just installed a fresh copy of WordPress on a subdomain to test it out, and the problems occurs there too! Surely someone else is experiencing it at this point.

    Issue is serious. WordPress admins, pl take a look. Latest update need to be cancelled or do the needful urgently in connection to the Visual editor working/Cache.

    Moderator t-p

    (@t-p)

    WordPress admins, pl take a look.

    There is no such thing as “WordPress admins”.

    These forums are staff with volunteers. We are all volunteers here.

    If above steps did not help:
    – Your browser may help you identify JavaScript issues or conflicts. Do you have any Javascript errors in the console when looking at the editor page? – This article can assist you in doing that diagnosis.
    – If you use any caching systems, like Cloudflare, clear those caches. – Check that the file permissions of all the PHP files are set correct (i.e., 644).
    – Specifically check files like /wp-includes/js/tinymce/wp-tinymce.php and such.
    – If the permissions are incorrect, then some servers running security code like suhosin won’t allow those files to run.

    Thread Starter dankop

    (@dankop)

    The issue is already reported and confirmed as a bug related to TinyMCE right here: Visual Editor freezing

    Should be fixed in the next update, but no idea when exactly is that gonna happen, – hopefully soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Visual editor freezes on text highlight’ is closed to new replies.