Tagged: 

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #1042529

    FYI – we just updated one of our sites to the enfold 4.5.1 and then updated to the WordPress 5.0 with Gutenberg editor. This created problems when editing pages using the Avia Layout Builder.

    We found a fix for disabling the Gutenberg editor and everything is currently working great, so here’s the steps we took;
    Instruction Video –

    In the cPanel and the Child Theme’s functions.php we added these lines below the <?php:

    //Disable Gutenberg editor
    add_filter(‘use_block_editor_for_post’, ‘__return_false’);

    Does enfold see any potential problems with the above solution?

    Avery

    #1042548

    Hey So Evolve,
    Thanks for the video, but on my localhost using the function with Enfold also disables the advanced layout builder in v4.5.1
    Have you tried it with Enfold yet?

    Best regards,
    Mike

    #1042555

    I’m using it right now without any problems or issues! As stated, our enfold theme is the newest version 4.5.1 and WP 5.0

    Avery

    • This reply was modified 5 years, 10 months ago by So Evolve.
    #1042683

    Hi Avery,

    Great, thanks for sharing that. Much appreciated! :-)

    Best regards,
    Rikard

    #1042748

    This plugin works too.

    #1042757

    you can also load classic editor plugin that works too as it overrides Gutenberg

    • This reply was modified 5 years, 10 months ago by info224.
    #1042789

    FYI – Mike was correct, we can use the Avia Layout editor on old pages and posts but this “function.php” edit does disable the Avia Layout Builder for any New Pages or Posts!

    Confirmed this on two sites with both WP 5.0 and Enfold 4.5.1

    We just installed CGain’s suggested plugin https://wordpress.org/plugins/disable-gutenberg/
    and it works without conflict to the enfold theme.

    Hope this helps…

    Still, need a permanent solution to this problem!

    Avery

    • This reply was modified 5 years, 10 months ago by So Evolve.
    #1042792

    Hi,
    Thanks for the confirmation, we look forward to your feedback on the plugins available.

    Best regards,
    Mike

    #1045413

    Thanks for this plugin it works without problem for the Enfold theme. Lifesaver.

    #1045518

    Hi,
    Thank you for your feedback.

    Best regards,
    Mike

    #1047935

    What is Enfold doing in regards to new themes and the Avia Editor as it relates to Guttenberg. Is Guttenberg the reason why there have been no new themes in Enfold as of late?

    Also, All of these Guttenberg blocking plugins will not be supported in 2021. Is Kriesi working on solutions to make the Avia editor compatible with the new WP udpate?

    I love Enfold and use it for many brands, but am concerned about this since all of my sites are completely broken by the Guttenburg update.

    Any information given is greatly appreciated.

    #1047998

    Hi,
    Please see our changelog v4.5 added two new templates on 10/15/2018
    Enfold Agency & Enfold Knowledgebase.
    Please keep an eye on our blog for updates about Enfold & the Avia editor.

    Best regards,
    Mike

    #1048841

    Mike,

    We’re going through multiple sites and updating them to the enfold 4.5.2 and on two of the site, we’re experiencing an “Updating Failed” error while trying to save work after edits.

    FYI – prior to updates we removed the “Disable Gutenberg” plugin

    Some sites are fine while others are having these issues…

    Your Thoughts?

    **Fixed by doing the following:

    1) Go to Child Theme
    2) Theme Options: go to the bottom and select;
    Use WP Classic Editor

    Simple once we notice this option

    Cheers

    • This reply was modified 5 years, 10 months ago by So Evolve.
    #1048856

    Hi,
    Glad to hear, I assume we can close this now?

    Best regards,
    Mike

    #1064759

    D o you have screen shot of where this is ? I do not see it..

    Your Thoughts?

    **Fixed by doing the following:

    1) Go to Child Theme
    2) Theme Options: go to the bottom and select;
    Use WP Classic Editor

    Simple once we notice this option

    #1064793

    Hi,
    The option is on the bottom of the Enfold Theme Options page, under the maintenance mode setting, if you are using at least version 4.5.1
    2019-01-14-064632

    Best regards,
    Mike

    #1086464

    Hi
    I can’t log on and get to my contol panel. When I try I get this message:

    Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /var/www/xn--hvej26-bya.dk/public_html/wp-content/themes/enfold-4/config-gutenberg/class-avia-gutenberg.php:392 Stack trace: #0 /var/www/xn--hvej26-bya.dk/public_html/wp-includes/class-wp-hook.php(286): Avia_Gutenberg->handler_admin_menu(”) #1 /var/www/xn--hvej26-bya.dk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/xn--hvej26-bya.dk/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/xn--hvej26-bya.dk/public_html/wp-admin/includes/menu.php(154): do_action(‘admin_menu’, ”) #4 /var/www/xn--hvej26-bya.dk/public_html/wp-admin/menu.php(308): require_once(‘/var/www/xn--hv…’) #5 /var/www/xn--hvej26-bya.dk/public_html/wp-admin/admin.php(152): require(‘/var/www/xn--hv…’) #6 /var/www/xn--hvej26-bya.dk/public_html/wp-admin/post.php(12): require_once(‘/var/www/xn--hv…’) #7 {main} thrown in /var/www/xn--hvej26-bya.dk/public_html/wp-content/themes/enfold-4/config-gutenberg/class-avia-gutenberg.php on line 392

    What to do?

    best regards
    Henrik

    #1086483

    Hi,
    Please try replacing the file at: /enfold/config-gutenberg/class-avia-gutenberg.php with the one linked in the Private Content area, but please save a backup of your original file.
    Then be sure to clear your browser cache.
    Please let us know if this helps.

    Best regards,
    Mike

    #1086507
    This reply has been marked as private.
    #1086515

    Hi,
    Oh I see, this is not your thread, so you can’t see it.

    Best regards,
    Mike

    #1086529

    Hi – thanks a lot.

    Hopefully last Q:

    I have browsed the folders to find
    /enfold/config-gutenberg/class-avia-gutenberg.php

    but did’nt succed. Please help me find the way to the right folder!

    best regards
    Henrik

    #1086717

    Hi,
    I just checked again and that is the right path for v4.5.5,
    2019-04-03-203205
    But I see you are using v4.5, so you are going to need to update and then if you are still having problems then try changing the file.
    Please note that if you update via FTP, you will need to remove the old theme folder first (via FTP) then upload the new folder.
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Best regards,
    Mike

    #1086836

    Hi Mike

    Problem solved – Thank you!
    best regards
    Henrik

    • This reply was modified 5 years, 6 months ago by Voldsgaard.
    #1087211

    Hi Henrik,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1241014

    Hi Victoria, I have the same problem – have I also to replace this file (class-avia-gutenberg.php) – an how can I get this?

    Thanks a lot
    Dominik

    Backend-Meldung:

    “Beschädigte Themes

    Die folgenden Themes sind installiert, aber nicht vollständig.
    Name Beschreibung
    Enfold This theme failed to load properly and was paused within the admin backend.”

    Email-Notifikation:

    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 525 der Datei /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:525
    Stack trace:
    #0 /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(385): Avia_Gutenberg->can_use_block_editor(‘post’, true)
    #1 /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(420): Avia_Gutenberg->init_force_classic_post_types()
    #2 /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(495): Avia_Gutenberg->get_force_classic_post_types()
    #3 /home/viziloku/www/igf.swiss/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(623): Avia_Gutenberg->force_classic_editor(‘page’)
    #4 /home/viziloku/www/igf.swiss/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post))
    #5 /home/viziloku/www/igf.swiss/wp-includes/plugin.php(206): WP_Hook->apply_filters(Arr

    • This reply was modified 4 years, 1 month ago by aebli.
    #1241448

    Hi aebli,

    Please start a separate thread, describe your issue there, and give us a link to your website.

    Best regards,
    Victoria

    #1241544
    #1241843

    Hi,
    Thank you, we will close this thread now as it is quite old and not relevant to the current version.

    Best regards,
    Mike

Viewing 28 posts - 1 through 28 (of 28 total)
  • The topic ‘Gutenberg Editor –’ is closed to new replies.