-
AuthorPosts
-
May 20, 2020 at 3:51 pm #1214699
Hello,
We are getting the following error when trying to go to Appearance > CustomizeFatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563 Stack trace: #0 /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor(‘post’, true) #1 /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types() #2 /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types() #3 /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(661): Avia_Gutenberg->force_classic_editor(‘page’) #4 /home2/activ111/yousio.com/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post)) #5 /home2/activ111/yousio.com/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #6 in /home2/activ111/yousio.com/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Any assistance on fixing this is greatly appreciated. Thanks in advance!
- This topic was modified 4 years, 7 months ago by bigwavebusiness.
May 26, 2020 at 6:15 pm #1216560Does anyone have anything on this?
May 28, 2020 at 1:49 pm #1217345Hi,
Sorry for the late reply, please try replacing this file/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php
with this one. Be sure to save a copy of the original for fallback and ensue you are using Enfold v4.7.5
After replacing the file via FTP please disable the Enfold Theme Options > Performance > JS & CSS file merging and compression and clear any caching plugin and your browser and check.Best regards,
MikeMay 29, 2020 at 5:02 pm #1217799That worked. Thank you!!!
May 30, 2020 at 1:44 am #1217876Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Customize theme displaying error instead of theme options’ is closed to new replies.