Home Forums Basel support forum failed to load tinymce

failed to load tinymce

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #119172

    pursehuit
    Participant

    Hello,
    We have a problem with our store and can’t figure it out.
    We use version 4.6.1 of the theme (also on 4.5 version the problem was the same), all required plugins are up to date.
    If you login in the admin panel, you will see that you can’t view/edit the content of the descriptions tab – see screenshot http://prnt.sc/ncsmgu
    If I deactivate all the plugins and leave only WooCommerce + Basel theme ON, the content is loading somehow if I switch 2-3 times between Visual and Text buttons, but with an error displays witch looks like this: “failed to load wp-includes/js/tinymce/langs/ro.js”
    If I change to StoreFront theme, and leave all the plugins activated, the problem is gone, so definetly is a problem with basel theme somewhere. You can check screenshot: http://prnt.sc/ncsool
    Thank you

    #119214

    Hello,

    I have deactivated all the plugins and switched to the parent theme. Everything works https://gyazo.com/7717cf29e23148f1267f051f39303e65 Please check

    Navigate to WP Bakery Page builder > Role Manager http://prntscr.com/lqfzji

    Enable WP Bakery Page builder for product https://gyazo.com/bb9a6a0ae40f7f79d3fee06196138d30

    Best Regards

    #119239

    pursehuit
    Participant

    Hello,
    Thx for your solution. Seems it is working on staging site, but no for the LIVE site. I followed the same instructions, all the settings are the same, but still no editor/content showing for product page.

    #119269

    Hello,

    Please confirm the permit to deactivate all the plugins not related to the theme and switch the parent theme for the period of checking what may take up to 20 minutes. Please provide your live site admin access.

    Best Regards

    #119272

    pursehuit
    Participant

    I confirm, but please try to reactivate all the active plugins back (some of them ar deactivated now).
    Please note that we have varnish cache active at server level and some changes to take effect in borwser will need some refreshes.
    I am waiting for your reply. Thx!
    The login details for the live site you find them in previous post

    #119282

    Hello,

    I have switched from the child to the parent theme and it works http://prntscr.com/nd1pli

    I have not touched the plugins yet.

    Now the child theme is activated. Please switch to the parent theme and check.

    Best Regards

    #119284

    pursehuit
    Participant

    Ok. So let me understand.
    I switched to parent theme, all seems to be fine now.
    But, whats the problem then with the child theme? I can not use it anymore? How do I make future theme changes that I dont want to loose them if I update the theme?
    Thx!

    #119295

    pursehuit
    Participant

    So I figured it out what was the problem and why with parent theme was everything fine.
    It seems that the code above in child theme – functions was the problem:

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, '.js' ) ) return $url;
    if ( strpos( $url, 'jquery.js' ) ) return $url;
    return "$url' defer ";
    }
    add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
    #119420

    Hello,

    Yes, some kind of custom code could cause the problem. Fine, you have found it. Remove or correct and it would work well.

    Best Regards

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)