Enfold theme
-
Hello,
I have on multiple sites the Enfold theme installed. When I use this plugin and I want to edit a page, I get the ‘Critical error etc.” on a white page. When I disable the Enfold plugin and make e.g. Twenty Two theme the deafult theme, everything works fine.
Does anyone know a solution or had the same problem (and solution ?)
-
Hi @flipper1960. Enfold is a commercial theme and we don’t have a copy.
But if you contact us via http://publishpress.com and send us the theme files, we’ll take a look for you.
Hello,
Thanks for willing to help.
OK, but to what person and emailadress can I sent the themefiles.
I also alreasdy send a email to https://publishpress.com/contact/ but they did not yet answer my (same) question. So I posted it also in this forumSorry, we don’t see your message.
Try again, sending an email to help@publishpress.com
Done!
Henri@flipper1960 It looks like if Enfold is configured with that setting, it calls an undefined function if any other code applies the ‘use_block_editor_for_post_type’ filter. This is an erroneous response to a valid API call. You can see from this stack trace that no non-Enfold code is involved:
Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563 Stack trace: #0 [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor(‘post’, true) #1 [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types() #2 [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types() #3 [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(1657): Avia_Gutenberg->force_classic_editor(‘post’) #4 [redacted]/wp-includes/class-wp-hook.php(289): Avia_Gutenberg->handler_wp_use_block_editor_fo in [redacted]/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563
The topic ‘Enfold theme’ is closed to new replies.