Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1214699

    Hello,
    We are getting the following error when trying to go to Appearance > Customize

    Fatal 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!

    #1216560

    Does anyone have anything on this?

    #1217345

    Hi,
    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,
    Mike

    #1217799

    That worked. Thank you!!!

    #1217876

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Customize theme displaying error instead of theme options’ is closed to new replies.