Tagged: tinymce
-
AuthorPosts
-
October 5, 2017 at 6:32 pm #860695
Hello,
when I try to edit a text (page, post or product) I see a blank textarea and I receive the error below in the consol
————————————————————————————————–
Uncaught TypeError: Cannot read property ‘openInstance’ of undefined
at b.(anonymous function).b.(anonymous function).createMenuValues (https://attarperfumes.net/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-tinymce-buttons-4.js?wp-mce-4603-20170530:39:32)
at b.(anonymous function).b.(anonymous function).init (https://attarperfumes.net/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-tinymce-buttons-4.js?wp-mce-4603-20170530:23:26)
at k (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:13:11631)
at Array.<anonymous> (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:13:11747)
at Object.b [as each] (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:2:29317)
at l (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:13:11679)
at Object.q [as init] (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:13:14693)
at o.<anonymous> (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:13:16159)
at Array.<anonymous> (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:4:27194)
at b (https://attarperfumes.net/wp-includes/js/tinymce/tinymce.min.js?ver=4603-20170530:2:29317)
createMenuValues @ avia-tinymce-buttons-4.js?wp-mce-4603-20170530:39
init @ avia-tinymce-buttons-4.js?wp-mce-4603-20170530:23
k @ tinymce.min.js?ver=4603-20170530:13
(anonymous) @ tinymce.min.js?ver=4603-20170530:13
b @ tinymce.min.js?ver=4603-20170530:2
l @ tinymce.min.js?ver=4603-20170530:13
q @ tinymce.min.js?ver=4603-20170530:13
(anonymous) @ tinymce.min.js?ver=4603-20170530:13
(anonymous) @ tinymce.min.js?ver=4603-20170530:4
b @ tinymce.min.js?ver=4603-20170530:2
r @ tinymce.min.js?ver=4603-20170530:4
l.(anonymous function).l.(anonymous function).l.(anonymous function).l.(anonymous function) @ tinymce.min.js?ver=4603-20170530:4
f @ tinymce.min.js?ver=4603-20170530:4
———————————————————————————-
I disabled Cloudflare, Varnish, cache plugin
I reuploaded wordpress and Enfold
I disabled all plugin and still the same
I returned to Enfold theme, not Enfold child, and it works correctly
So the problem is in Enfold child. Can you give me a hint to solve the problem please?
Thank you MauroOctober 6, 2017 at 4:17 am #860819Hey profumopuntoit,
Try to check if there is a plugin conflict disabling all of them and checking the page again.
Best regards,
John TorvikOctober 6, 2017 at 10:58 am #860935I did it already and as I said the problem was there also without all the plugin
So I passed from Enfold child theme to Enfold theme and problem was solved
Can you give me a hint on what is wrong in our functions.php?
I have added ftp login in the previous post.
Thank you
MauroOctober 10, 2017 at 5:04 am #862243Hi,
I would like to check this but the Appearance > Editor panel is not accessible. Did you add any custom modifications in the child theme folder? Is it ok if we deactivate the plugins temporarily?
Best regards,
IsmaelOctober 10, 2017 at 10:59 am #862414Hi,
there was iThemes Security enabled that hide Editor panel. Is disabled it now.
You can do al the tests you want: the site is not yet live.
The child theme has certainly some custom functions and styles
Thank you
MauroOctober 12, 2017 at 6:39 am #863185Hi,
Looks like you modified the theme quite a bit. Please disable the plugins and then disable the modifications in the child theme temporarily specially the functions.php file.
Best regards,
IsmaelOctober 12, 2017 at 12:37 pm #863378Ok I find out
For other reader’s reference, the offending function in functions.php was in my case:——————————————–
add_action(‘init’, ‘avf_remove_media_element’, 10);
function avf_remove_media_element()
{
wp_deregister_script(‘wp-mediaelement’);
wp_deregister_style(‘wp-mediaelement’);
}
——————————————-
found here https://kriesi.at/support/topic/how-to-disable-mediaelement-enfold-theme/#post-354141- This reply was modified 7 years, 1 month ago by profumopuntoit.
October 12, 2017 at 12:46 pm #863381Everything is working now and I can edit, but still I see in the browser (Opera) console this:
———————————————-
post.php?post=3923&action=edit:57
Resource interpreted as Stylesheet but transferred with MIME type text/html: “https://attarperfumes.net/wp-admin/post.php?post=3923&action=edit”.
jquery-migrate.min.js:2
JQMIGRATE: Migrate is installed, version 1.4.1
util.js:216
Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
———————————————-
should I worry about?in Enfold child settings (/wp-admin/admin.php?page=avia#goto_social ) I have setup a Google map Api key and I receive a
“We were able to properly connect to google maps with your API key”Thank you
MauroOctober 13, 2017 at 12:10 pm #863883Hi,
The google map element is still going to work even with the notification. It’s not critical. In the next update, there’ll be a filter that will enable the user to change the version number which in turn remove this notification.
Best regards,
IsmaelOctober 13, 2017 at 2:29 pm #863962Thank you
And the other two warnings?
post.php?post=3923&action=edit:57
Resource interpreted as Stylesheet but transferred with MIME type text/html: “https://attarperfumes.net/wp-admin/post.php?post=3923&action=edit”.
jquery-migrate.min.js:2
JQMIGRATE: Migrate is installed, version 1.4.1
util.js:216October 15, 2017 at 5:14 am #864400Hi,
I’m not so sure about the “mime type” notification but the other one is just a version notification. Is it breaking anything?
Best regards,
IsmaelOctober 16, 2017 at 4:29 pm #864871October 17, 2017 at 6:30 am #865148 -
AuthorPosts
- You must be logged in to reply to this topic.