• Resolved theo93

    (@theo93)


    Hello,

    I have a problem with my editor.

    It doesnt change view from Text to Visual.

    Also in another admin user is shows white text in white background.

    I updated in the last WP version and added Classic Editor.

    Also i added TinyMCE Advanced, but there was no solution.

    The errors in chrome console are:

    Uncaught SyntaxError: Invalid or unexpected token
    wp-tinymce.js:3
    Uncaught SyntaxError: Invalid or unexpected token
    post.php?post=6&action=edit:2536
    Uncaught ReferenceError: tinymce is not defined
    at post.php?post=6&action=edit:2536
    wp-langs-en.js?ver=4920-20181217-tadv-5.0.0:235
    Uncaught ReferenceError: tinyMCE is not defined
    at wp-langs-en.js?ver=4920-20181217-tadv-5.0.0:235
    at wp-langs-en.js?ver=4920-20181217-tadv-5.0.0:519
    post.php?post=6&action=edit:2531
    Uncaught ReferenceError: tinymce is not defined
    at Object.load_ext (post.php?post=6&action=edit:2531)
    at post.php?post=6&action=edit:2541

    Thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    At Users > Your Profile in the site’s Dashboard, make sure that “Disable the visual editor when writing” is _not_ checked.

    Thread Starter theo93

    (@theo93)

    Hello @macmanx ,

    The checkbox is not checked.

    Also if i deactivate the Classic Editor the edit page is blank.

    Best regards

    Thread Starter theo93

    (@theo93)

    Also i deactivate the classic editor and in console i see these errors:

    JQMIGRATE: Migrate is installed, version 1.4.1
    wp-tinymce.js:3 Uncaught SyntaxError: Invalid or unexpected token
    blocks.min.js:2 Uncaught SyntaxError: Invalid or unexpected token
    post.php:199 Uncaught TypeError: Cannot read property ‘setCategories’ of undefined
    at post.php:199
    editor.min.js:55 Uncaught TypeError: Cannot read property ‘withBlockContentContext’ of undefined
    at Module.<anonymous> (editor.min.js:55)
    at n (editor.min.js:1)
    at editor.min.js:1
    at editor.min.js:1
    block-library.min.js:12 Uncaught TypeError: Object(…) is not a function
    at Module.306 (block-library.min.js:12)
    at n (block-library.min.js:1)
    at wp.blockLibrary.0 (block-library.min.js:1)
    at block-library.min.js:1
    classic-paragraph.js:1 Uncaught TypeError: Cannot read property ‘registerBlockType’ of undefined
    at classic-paragraph.js:1
    at Module.<anonymous> (classic-paragraph.js:1)
    at e (classic-paragraph.js:1)
    at classic-paragraph.js:1
    at classic-paragraph.js:1
    wp-seo-structured-data-blocks-1013.min.js:1 Uncaught TypeError: Cannot read property ‘Content’ of undefined
    at Object.949 (wp-seo-structured-data-blocks-1013.min.js:1)
    at f (commons-1013.min.js:1)
    at Object.948 (wp-seo-structured-data-blocks-1013.min.js:1)
    at f (commons-1013.min.js:1)
    at Object.947 (wp-seo-structured-data-blocks-1013.min.js:1)
    at f (commons-1013.min.js:1)
    at Object.946 (wp-seo-structured-data-blocks-1013.min.js:1)
    at f (commons-1013.min.js:1)
    at t (commons-1013.min.js:1)
    at Array.r [as push] (commons-1013.min.js:1)
    post.php:2088 Uncaught ReferenceError: tinymce is not defined
    at post.php:2088
    editor.min.js:55 Uncaught TypeError: Cannot read property ‘serialize’ of undefined
    at editor.min.js:55
    at u (editor.min.js:12)
    at kt (editor.min.js:55)
    at Object.getEditedPostAttribute (data.min.js:1)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    at e.value (wp-seo-post-scraper-1013.min.js:5)
    edit-post.min.js:12 Uncaught TypeError: Cannot read property ‘registerCoreBlocks’ of undefined
    at Module.$n (edit-post.min.js:12)
    at HTMLDocument.<anonymous> (post.php:286)

    Best regards

    Moderator James Huff

    (@macmanx)

    Ok, this may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Nineteen theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter theo93

    (@theo93)

    Hello @macmanx ,

    I done it in both ways.

    When i deactivate all the plugins and change theme the edit page is blank.

    The Chrome console:

    JQMIGRATE: Migrate is installed, version 1.4.1
    wp-tinymce.js:3 Uncaught SyntaxError: Invalid or unexpected token
    blocks.min.js:2 Uncaught SyntaxError: Invalid or unexpected token
    post.php?post=744&action=edit:1639 Uncaught TypeError: Cannot read property ‘setCategories’ of undefined
    at post.php?post=744&action=edit:1639
    editor.min.js?ver=9.0.11:55 Uncaught TypeError: Cannot read property ‘withBlockContentContext’ of undefined
    at Module.<anonymous> (editor.min.js?ver=9.0.11:55)
    at n (editor.min.js?ver=9.0.11:1)
    at editor.min.js?ver=9.0.11:1
    at editor.min.js?ver=9.0.11:1
    block-library.min.js?ver=2.2.16:12 Uncaught TypeError: Object(…) is not a function
    at Module.306 (block-library.min.js?ver=2.2.16:12)
    at n (block-library.min.js?ver=2.2.16:1)
    at wp.blockLibrary.0 (block-library.min.js?ver=2.2.16:1)
    at block-library.min.js?ver=2.2.16:1
    mce-view.min.js:1 Uncaught SyntaxError: Invalid or unexpected token
    post.php?post=744&action=edit:1812 Uncaught ReferenceError: tinymce is not defined
    at post.php?post=744&action=edit:1812
    edit-post.min.js?ver=3.1.11:12 Uncaught TypeError: Cannot read property ‘registerCoreBlocks’ of undefined
    at Module.$n (edit-post.min.js?ver=3.1.11:12)
    at HTMLDocument.<anonymous> (post.php?post=744&action=edit:1725)

    Best regards

    Thread Starter theo93

    (@theo93)

    After contacting with the hosting provider the error was fixed.

    This was their response:

    ?This is related to the pixel code that is interfering with WordPress’ code from their last update.?

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Editor Visual/text doesnt change and white text’ is closed to new replies.