Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1215102

    Hi
    I have fatal error whe I want to go to menu appearance -> customize :-(
    apeared after the update, problem below :

    Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type()
    in ]wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563
    Call stack:

    Avia_Gutenberg::can_use_block_editor()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:423
    Avia_Gutenberg::init_force_classic_post_types()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:458
    Avia_Gutenberg::get_force_classic_post_types()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:533
    Avia_Gutenberg::force_classic_editor()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:661
    Avia_Gutenberg::handler_display_post_states()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-admin/includes/template.php:2170
    get_post_states()
    wp-includes/nav-menu.php:823
    wp_setup_nav_menu_item()
    array_map()
    wp-includes/nav-menu.php:749
    wp_get_nav_menu_items()
    wp-includes/class-wp-customize-nav-menus.php:734
    WP_Customize_Nav_Menus::customize_register()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-includes/class-wp-customize-manager.php:928
    WP_Customize_Manager::wp_loaded()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-settings.php:562
    require_once()
    wp-config.php:91
    require_once()
    wp-load.php:37
    require_once()
    wp-admin/admin.php:34
    require_once()
    wp-admin/customize.php:13

    • This topic was modified 3 years, 11 months ago by MarioAli.
    #1215184

    When I off Classic Editor, and turn on Gutenberg, problem gone.
    in my opinion it shouldn’t be like this, it should work on both
    Have nice day

    #1215393

    Hi,

    Sorry for the problem. What happens if you disable the Classic Editor plugin and activate the Classic Editor in the main page of the theme options instead?

    Best regards,
    Rikard

    #1217997

    when i do like you sad i have the same problem and another error below

    Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type()
    in /home/platne/serwer15058/public_html/ursus/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563

    Call stack:

    Avia_Gutenberg::can_use_block_editor()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:423
    Avia_Gutenberg::init_force_classic_post_types()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:458
    Avia_Gutenberg::get_force_classic_post_types()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:533
    Avia_Gutenberg::force_classic_editor()
    wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:661
    Avia_Gutenberg::handler_display_post_states()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-admin/includes/template.php:2170
    get_post_states()
    wp-includes/nav-menu.php:823
    wp_setup_nav_menu_item()
    array_map()
    wp-includes/nav-menu.php:749
    wp_get_nav_menu_items()
    wp-includes/class-wp-customize-nav-menus.php:734
    WP_Customize_Nav_Menus::customize_register()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-includes/class-wp-customize-manager.php:928
    WP_Customize_Manager::wp_loaded()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-settings.php:562
    require_once()
    wp-config.php:90
    require_once()
    wp-load.php:37
    require_once()
    wp-admin/admin.php:34
    require_once()
    wp-admin/customize.php:13

    #1218320

    Hi MarioAli,

    Are you running the latest version (4.7.5) of the theme? If not then please try updating to that: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update

    Best regards,
    Rikard

    #1230574

    on version WordPress 5.4.2, EnfoldWersja: 4.7.5, as I know there is no newer

    #1231080

    Hi MarioAli,

    I can’t see any error messages on your site when going to Appearance->Customise now.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.