• Resolved maxwell44

    (@maxwell44)


    Hello, I can’t edit posts with the Google Site Kit plugin activated,

    When I start editing a post, it suddenly goes off/blank and displays this error notice: “The editor has encountered an unexpected error.”

    Below is the error code which shows it’s an issue with the Site Kit plugin because I don’t experience this when I deactivate the plugin

    TypeError: this.activateMode is not a function
    at /wp-includes/js/media-views.min.js?ver=5.3.2:1:24698
    at Gt (/wp-content/plugins/google-site-kit/dist/assets/js/vendors~chunk-googlesitekit-adminbar-e998b0920bf1b220257e.js:1:9769)
    at Function.Wa (/wp-content/plugins/google-site-kit/dist/assets/js/vendors~chunk-googlesitekit-adminbar-e998b0920bf1b220257e.js:1:44923)
    at i._createModes (/wp-includes/js/media-views.min.js?ver=5.3.2:1:24658)
    at initialize (/wp-includes/js/media-views.min.js?ver=5.3.2:1:24067)
    at initialize (/wp-includes/js/media-views.min.js?ver=5.3.2:1:25722)
    at initialize (/wp-includes/js/media-views.min.js?ver=5.3.2:1:29613)
    at i.h.View (/wp-includes/js/backbone.min.js?ver=1.4.0:1:14225)
    at i.constructor (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=hoverIntent,common,hoverintent-js,admin-bar,heartbeat,jquery-ui-sortable,postbox,wp-backbone,media-models,wp-plupload&ver=5.3.2:19:2608)
    at i.constructor (/wp-includes/js/media-views.min.js?ver=5.3.2:1:23514)

    Is there also an option to toggle off the Site Kit Admin bar as that might also be the interfering issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    @maxwell44 Thanks for reporting. So we can successfully troubleshoot can you share your site URL and Site Health information?

    While there is no option within Site Kit to disable the admin bar have you checked the same issue when you have the admin bar disabled at user level? You can add a custom function or disable using the users tab.

    Thread Starter maxwell44

    (@maxwell44)

    Can I share the details via any discreet/confidential method?

    Also, how do I disable the admin bar at user level? Like as you said disabling using the users tab.

    • This reply was modified 4 years, 9 months ago by maxwell44.
    Plugin Support James Osborne

    (@jamesosborne)

    @maxwell44 You can provide the information using this form.

    @maxwell44 just a follow up on your topic. Does the error still persist for you? We have yet to receive your Site Health information, but feel free to send it if you need further assistance.

    Plugin Support James Osborne

    (@jamesosborne)

    @maxwell44 As we didn’t receive a response I will mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or alternatively report here. It would be great to know more on this issue, which could potentially impact others.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The editor has encountered an unexpected error’ is closed to new replies.