• Resolved Michael Kwan

    (@michoscopic)


    Hello,

    I’m using WP 4.3.1 with a paid theme from Themeforest. Everything was working fine until I decided to try to limit the post editor’s width to 660px, via Final Call CSS which was provided in the theme.

    First I tried #post-body-content {max-width: 660px !important}, which failed – I refreshed the page, and it was still the full width (I’m using a 24-inch monitor). Then I tried .wp-content-wrap {max-width: 660px !important}, which also failed.

    Then I tried to type something in the post editor, and only now I realised something was wrong. I can’t type in the editor, and I can’t switch to Text mode too. I went to the browser console and was faced with 33 errors, listed below. I have no idea what went wrong, as I only edited the Final Call CSS and did not touch any file.

    I tried replacing the below folders with a freshly downloaded WordPress 4.3.1 download file, but nothing’s worked:

    wp-includes/js/tinymce
    wp-includes/css/editor.css, editor.min.css, editor-rtl.css, editor-rtl.min.css
    wp-admin/js/editor.js, editor.min.js, editor-expand.js, editor-expand.min.js

    The weird thing is, this may just be a local problem. After all the above, I tried adding a new post through my phone, and the whole page worked just fine. I cleared my browser cache and restarted my pc, but the problem remains.

    Any help would be greatly appreciated. Thank you so much in advance.

    =============================

    Console errors:

    Uncaught SyntaxError: missing ) after argument list
    script.js:1 Uncaught ReferenceError: jQuery is not defined
    gallery-settings.js:1 Uncaught ReferenceError: jQuery is not defined
    elycharts.min.js:1 Uncaught ReferenceError: jQuery is not defined
    widgetize_menu_backend_script.js:1 Uncaught ReferenceError: jQuery is not defined
    buttoncreator_widget.js?ver=4.3.1:3 Uncaught ReferenceError: jQuery is not defined
    atd-nonvis-editor-plugin.js?ver=20150715:6 Uncaught ReferenceError: edButtons is not defined
    jquery.atd.js?ver=20150715:26 Uncaught ReferenceError: jQuery is not defined
    jquery.atd.js?ver=20150715:1 Uncaught TypeError: Cannot read property 'setIgnoreStrings' of undefined
    atd-autoproofread.js?ver=20150715:9 Uncaught ReferenceError: jQuery is not defined
    post-new.php:126 Uncaught ReferenceError: jQuery is not defined
    post-new.php:130 Uncaught ReferenceError: jQuery is not defined
    post-new.php:2784 Uncaught ReferenceError: jQuery is not defined
    post-new.php:4327 Uncaught ReferenceError: jQuery is not defined
    load-scripts.php:1 Uncaught ReferenceError: jQuery is not defined
    admin.min.js:1 Uncaught ReferenceError: jQuery is not defined
    gmw-admin.js:2 Uncaught ReferenceError: jQuery is not defined
    admin-scripts.js:1 Uncaught ReferenceError: jQuery is not defined
    admin-scripts.js:1 Uncaught ReferenceError: jQuery is not defined
    colorpicker.js:30 Uncaught ReferenceError: jQuery is not defined
    wp-seo-admin-global.min.js:1 Uncaught ReferenceError: jQuery is not defined
    jquery.qtip.min.js:1 Uncaught ReferenceError: jQuery is not defined
    wp-seo-metabox.min.js:1 Uncaught ReferenceError: jQuery is not defined
    wp-seo-featured-image.min.js:1 Uncaught ReferenceError: jQuery is not defined
    wp-seo-admin-media.min.js:1 Uncaught ReferenceError: jQuery is not defined
    colorpicker.js:30 Uncaught ReferenceError: jQuery is not defined
    admin-scripts.js:1 Uncaught ReferenceError: jQuery is not defined
    ui.js:1 Uncaught ReferenceError: jQuery is not defined
    notes-common-v2.js:158 Uncaught ReferenceError: jQuery is not defined
    admin-bar-v2.js:2 Uncaught ReferenceError: _ is not defined
    addresspicker.min.js:1 Uncaught ReferenceError: jQuery is not defined
    /wp-includes/js/tinymce/plugins/wordpress/plugin.min.js?wp-mce-4205-20150910:1 Uncaught ReferenceError: getUserSetting is not defined
    tinymce.min.js:1 Uncaught TypeError: Cannot read property 'parents' of undefined
    maps.googleapis.com/maps-api-v3/api/js/23/0/util.js:30 Google Maps API warning: InvalidKey: https://developers.google.com/maps/documentation/javascript/error-messages
Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter Michael Kwan

    (@michoscopic)

    Thanks for your reply. Today I opened the site again, and voila, everything works as advertised. Changed nothing.

    Then my client contacted me and said he couldn’t edit any posts, but could Add New Posts without problems (mine was the opposite). But it works for him in Internet Explorer (didn’t for me). He cleared his cache and reinstalled Chrome, but it didn’t work either. But it was working for him on mobile.

    Then he cleared his cache again, from the beginning of time, and voila, it magically worked.

    Debugging and troubleshooting. If it works, I don’t know why. If it doesn’t, I don’t know why. Lol.

    Anyway thank you very much esmi for your time. Topic resolved ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text editor not functioning for Add New Post’ is closed to new replies.