Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
  • #1407277


    On our website during edition of any post and after saving content in popup editor we have error in console:
    [Error] TypeError: null is not an object (evaluating ‘editor.setContent’) (anonimowa funkcja) (avia-builder.js:1646)

    I think because of that no changes save on post after publishing it on page with gutenberg. Now we cant edit any post.


    Of course we have latest version of Enfold with active update with ThemeForest.



    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,



    Thanks for that. I created a test post, but I can’t see any problem there. How can we reproduce the problem you are seeing?

    Best regards,



    Thank you for the short clip.

    To fix the issue temporarily, please try to edit the themes/enfold/config-templatebuilder/avia-template-builder/assets/js/avia-builder.js file and look for this code around line 1640.

    if( typeof editor != "undefined" )

    Replace it with:

    if( typeof editor != "undefined" || typeof editor != null )

    You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings after doing the modification.

    Best regards,





    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,


    again, more problem with edit, look at this:

    [Error] TypeError: null is not an object (evaluating ‘editor.setContent’)

    (anonimowa funkcja) (avia-builder.js:1646)



    Thank you for the update.

    We can’t seem to reproduce the issue on our end. Did you remove the modification that we suggested above? Please provide a screenshot or a short clip of the issue.

    Best regards,



    here is a movie from our Client:
    He says that problem still exist, some block are saved, some can’t be.


    We still waiting for help.





    Sorry for the delay. We are able to modify the content of the post and save it properly without encountering the error. Please check the private field. Can you still reproduce the issue on your end?

    Best regards,


    The website is still having some problems. It occurs randomly – one day I can make changes, the other day I can’t. Some elements are also blocked and I can’t change them: For example, on the subpages, I have reviews of my company. At the moment, I cannot change them on most pages.

    The problem is visible the most under the following link: – The page is totally blocked, I can’t change the title or photo… But one remark! If you make changes and save them, don’t use the preview, because it shows everything properly. Please open the page in the new tab and refresh… the changes will not be visible there.




    Hi Game-Box,

    Are you using a child theme? if yes, please add this PHP Snippet in your child theme’s functions.php, if you don’t have one, then you can use a plugin called WPCode – Insert Headers and Footers and insert it as a PHP Snippet:

    function custom_avf_post_css_create_file( $create ) {
    	return false;
    add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );

    Hope it helps.

    Best regards,

Viewing 18 posts - 1 through 18 (of 18 total)
  • You must be logged in to reply to this topic.