• Resolved requincreative

    (@requincreative)


    I am using version 3.6 of the UA plugin (unable to upgrade it because of client customizations) with WP 4.7 and it is breaking the native WP Visual Editor. When I click to edit a page/post the Visual Editor is blank (white) and I have to click back and forth on the Text tab and Visual tab to get the visual editor to load content. However the controls are broken afterwards.

    Here are the associated google developer console errors when attempting to view the Visual Editor:

    JQMIGRATE: Migrate is installed, version 1.4.1
    Uncaught Error: no such method 'instance' for menu widget instance
        at Function.error (http://www.khsprojectgrad.org/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…jquery-ui-core,jquery-ui-widget,jquery-ui-position,plupload&ver=4.7:2:1814)
        at HTMLUListElement.<anonymous> (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:6062)
        at Function.each (http://www.khsprojectgrad.org/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…jquery-ui-core,jquery-ui-widget,jquery-ui-position,plupload&ver=4.7:2:2881)
        at a.fn.init.each (http://www.khsprojectgrad.org/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…,jquery-ui-core,jquery-ui-widget,jquery-ui-position,plupload&ver=4.7:2:846)
        at a.fn.init.t.fn.(anonymous function) [as menu] (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:5897)
        at t.(anonymous function).(anonymous function)._create (http://www.khsprojectgrad.org/wp-admin/load-scripts.php?c=1&load%5B%5D=hove…ry-touch-punch,iris,wp-color-picker,editor,wplink,wp-embed&ver=4.7:72:2191)
        at t.(anonymous function).(anonymous function)._create (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:5028)
        at t.(anonymous function).(anonymous function)._createWidget (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:7032)
        at new t.(anonymous function).(anonymous function) (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:4591)
        at HTMLInputElement.<anonymous> (http://www.khsprojectgrad.org/wp-content/plugins/ultimate-auction/js/jquery-ui.min.js?ver=4.7:5:6305)
    Uncaught TypeError: Cannot read property 'refreshContentEditable' of undefined(…)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nitesh

    (@nitesh_singh)

    Hi,

    I think we fixed this in newer versions. Could you try latest separately? As far as your limitation of not upgrading is concerned, this would then need to be looked into separately and not here. Write to nitesh[at]auctionplugin[dot]net.

    Regards,
    Nitesh

    Thread Starter requincreative

    (@requincreative)

    Thank you, I can confirm that this is not an issue in newer versions of the plugin.

    I was able to solve this myself when I looked into the version of the plugin that the client was using.

    From last few days when I am trying to open “Text Block” using Visual Composer from the backend then it is not opening and gives the below error in the chrome console.
    All plugins are updated in the site.
    Current WordPress version: 4.7.3
    Error::
    Uncaught TypeError: Cannot read property ‘refreshContentEditable’ of undefined
    at B.<anonymous> (plugin.min.js?wp-mce-4403-20160901:1)
    at t.i [as fire] (tinymce.min.js?ver=4403-20160901:8)
    at B.fire (tinymce.min.js?ver=4403-20160901:8)
    at B.setContent (tinymce.min.js?ver=4403-20160901:11)
    at B.load (tinymce.min.js?ver=4403-20160901:11)
    at B.show (tinymce.min.js?ver=4403-20160901:11)
    at Object.d [as go] (editor.min.js?ver=4.7.3:1)
    at vc.Storage.setContent (backend.min.js?ver=5.1:6)
    at vc.Storage.save (backend.min.js?ver=5.1:6)
    at vc.Storage.update (backend.min.js?ver=5.1:6)
    (anonymous) @ plugin.min.js?wp-mce-4403-20160901:1
    i @ tinymce.min.js?ver=4403-20160901:8
    fire @ tinymce.min.js?ver=4403-20160901:8
    setContent @ tinymce.min.js?ver=4403-20160901:11
    load @ tinymce.min.js?ver=4403-20160901:11
    show @ tinymce.min.js?ver=4403-20160901:11
    d @ editor.min.js?ver=4.7.3:1
    setContent @ backend.min.js?ver=5.1:6
    save @ backend.min.js?ver=5.1:6
    update @ backend.min.js?ver=5.1:6
    sync @ backend.min.js?ver=5.1:6
    save @ backbone.min.js?ver=1.2.3:1
    create @ backbone.min.js?ver=1.2.3:1
    createElement @ backend.min.js?ver=5.1:3
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    How to fix the issue?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin breaks Visual Editor’ is closed to new replies.