ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
925 stars 218 forks source link

Javascript error in admin after update #1853

Closed sandromattei closed 8 years ago

sandromattei commented 8 years ago

Hello. I just updated unyson with the new extension, “Editor of Shortcodes" and now I cannot make the switch between editor and html by getting this javascript error: Uncaught TypeError: Cannot read property 'canvas' of undefined

andreiglingeanu commented 8 years ago

@sandromattei It is in main post editor or an wp-editor option type?

sandromattei commented 8 years ago

wp-editor option type

sandromattei commented 8 years ago

default text-block shortcode

andreiglingeanu commented 8 years ago

Show your option array.

sandromattei commented 8 years ago

default text-block shortcode

andreiglingeanu commented 8 years ago

Your unyson version? Have you tried to reproduce this in Scratch?

I believe that's a long gone error that has been solved long time ago.

sandromattei commented 8 years ago

i have updated unyson today... the problem started after the update

andreiglingeanu commented 8 years ago

Please send me your credentials at andrei.glingeanu@gmail.com.

sandromattei commented 8 years ago

credentials?

andreiglingeanu commented 8 years ago

I mean your WordPress admin panel login/password, to take a quick look at your issue.

sandromattei commented 8 years ago

wordpress is installed locally on my computer

andreiglingeanu commented 8 years ago

Okay. Please test the same shortcode with Scratch theme. If you have any hooks that customise wp-editor - let me know.

sandromattei commented 8 years ago

ok, I download the theme and try to. in short, I will have you know

sandromattei commented 8 years ago

The same problem also with the scratch theme

andreiglingeanu commented 8 years ago

Any plugin installed that add some button to the wp-editor? That's actually very important one.

sandromattei commented 8 years ago

I had installed the plugin wp-better-attachments but l'I deactivated and the problem continues

andreiglingeanu commented 8 years ago

Could you zip all of your plugins directory from wp-content and give me a link?

sandromattei commented 8 years ago

yes, just a moment

sandromattei commented 8 years ago

https://mega.nz/#!jRQVHTIC

!Bx36UB1oYSry7LfH3sDM45qS8ExIDUI1ekGJ-k835Kg

sandromattei commented 8 years ago

Thank's

sandromattei commented 8 years ago

this is the error on my console. load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:11 Uncaught TypeError: Cannot read property 'canvas' of undefinedb.closeAllTags @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:11d @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:751(anonymous function) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:751e @ wp-tinymce.php?c=1&ver=4310-20160418:3m @ wp-tinymce.php?c=1&ver=4310-20160418:3

andreiglingeanu commented 8 years ago

Remove plugins/unyson/framework/extensions/shortcodes folder.

Then install the Page Builder and WP Shortcodes once again.


Your Shortcodes extension was not up to date.

sandromattei commented 8 years ago

Faaaantastic!!!!! it work! Thankyou so much!!!