-
AuthorPosts
-
May 22, 2020 at 12:07 am #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 4 years, 6 months ago by MarioAli.
May 22, 2020 at 9:47 am #1215184When 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 dayMay 23, 2020 at 9:28 am #1215393Hi,
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,
RikardMay 30, 2020 at 2:40 pm #1217997when 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 563Call 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:13June 1, 2020 at 5:55 am #1218320Hi 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,
RikardJuly 15, 2020 at 12:16 pm #1230574on version WordPress 5.4.2, EnfoldWersja: 4.7.5, as I know there is no newer
July 17, 2020 at 5:06 am #1231080 -
AuthorPosts
- You must be logged in to reply to this topic.