Tagged: enfold 4.5.2
-
AuthorPosts
-
December 8, 2018 at 7:43 pm #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
December 8, 2018 at 8:32 pm #1042548Hey 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,
MikeDecember 8, 2018 at 8:47 pm #1042555I’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, 11 months ago by So Evolve.
December 9, 2018 at 7:16 am #1042683Hi Avery,
Great, thanks for sharing that. Much appreciated! :-)
Best regards,
RikardDecember 9, 2018 at 4:00 pm #1042748This plugin works too.
December 9, 2018 at 4:41 pm #1042757you can also load classic editor plugin that works too as it overrides Gutenberg
- This reply was modified 5 years, 11 months ago by info224.
December 9, 2018 at 7:10 pm #1042789FYI – 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, 11 months ago by So Evolve.
December 9, 2018 at 7:24 pm #1042792Hi,
Thanks for the confirmation, we look forward to your feedback on the plugins available.Best regards,
MikeDecember 14, 2018 at 8:02 pm #1045413Thanks for this plugin it works without problem for the Enfold theme. Lifesaver.
December 15, 2018 at 3:23 am #1045518December 20, 2018 at 9:29 pm #1047935What 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.
December 21, 2018 at 4:08 am #1047998December 23, 2018 at 6:03 pm #1048841Mike,
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 EditorSimple once we notice this option
Cheers
- This reply was modified 5 years, 11 months ago by So Evolve.
December 23, 2018 at 7:28 pm #1048856February 8, 2019 at 8:17 pm #1064759D 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 EditorSimple once we notice this option
February 8, 2019 at 11:08 pm #1064793April 3, 2019 at 10:49 am #1086464Hi
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
HenrikApril 3, 2019 at 12:09 pm #1086483Hi,
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,
MikeApril 3, 2019 at 12:54 pm #1086507This reply has been marked as private.April 3, 2019 at 1:19 pm #1086515April 3, 2019 at 2:01 pm #1086529Hi – thanks a lot.
Hopefully last Q:
I have browsed the folders to find
/enfold/config-gutenberg/class-avia-gutenberg.phpbut did’nt succed. Please help me find the way to the right folder!
best regards
HenrikApril 4, 2019 at 2:44 am #1086717Hi,
I just checked again and that is the right path for v4.5.5,
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,
MikeApril 4, 2019 at 8:03 am #1086836Hi Mike
Problem solved – Thank you!
best regards
Henrik- This reply was modified 5 years, 7 months ago by Voldsgaard.
April 4, 2019 at 8:45 pm #1087211Hi Henrik,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaAugust 26, 2020 at 9:09 pm #1241014Hi 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
DominikBackend-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, 2 months ago by aebli.
August 28, 2020 at 8:44 am #1241448Hi aebli,
Please start a separate thread, describe your issue there, and give us a link to your website.
Best regards,
VictoriaAugust 28, 2020 at 11:44 am #1241544August 29, 2020 at 7:49 pm #1241843 -
AuthorPosts
- The topic ‘Gutenberg Editor –’ is closed to new replies.