Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1241745

    Hi,
    I have used Enfold theme on a WordPress.com blog. The WordPress version got automatically updated to v5.5 by WordPress. Unfortunately, the Enfold version was quite old (i think v4.5) and I was unable to go into the Appearance -> Customize page on WP-admin dashboard. The webpage crashed and I received the error message below

    Can you please confirm if updating the parent Enfold theme to v4.7 by uploading the latest theme zip file will solve this problem?

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.5
    Current theme: Enfold Child (version 1.0)
    Current plugin: (version )
    PHP version 7.2.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 529 of the file /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:529
    Stack trace:
    #0 /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(389): Avia_Gutenberg->can_use_block_editor(‘post’, true)
    #1 /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(424): Avia_Gutenberg->init_force_classic_post_types()
    #2 /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(499): Avia_Gutenberg->get_force_classic_post_types()
    #3 /srv/htdocs/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(627): Avia_Gutenberg->force_classic_editor(‘page’)
    #4 /wordpress/core/5.5/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post))
    #5 /wordpress/core/5.5/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
    #6 /wordpress/core/5.5/wp-admin/includes/template.php(2221): apply_filters(‘display_post_st…’, Array, Object(WP_Post))
    #7 /wordpress/core/5.5/wp-includes/nav-menu.php(822): get_post_states(Object(WP_Post))
    #8 [internal function]: wp_setup_nav_menu_item(Object(WP_Post))
    #9 /wordpress/core/5.5/wp-includes/nav-menu.php(748): array_map(‘wp_setup_nav_me…’, Array)
    #10 /wordpress/core/5.5/wp-includes/class-wp-customize-nav-menus.php(797): wp_get_nav_menu_items(Object(WP_Term))
    #11 /wordpress/core/5.5/wp-includes/class-wp-hook.php(287): WP_Customize_Nav_Menus->customize_register(Object(WP_Customize_Manager))
    #12 /wordpress/core/5.5/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #13 /wordpress/core/5.5/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #14 /wordpress/core/5.5/wp-includes/class-wp-customize-manager.php(933): do_action(‘customize_regis…’, Object(WP_Customize_Manager))
    #15 /wordpress/core/5.5/wp-includes/class-wp-hook.php(287): WP_Customize_Manager->wp_loaded(”)
    #16 /wordpress/core/5.5/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #17 /wordpress/core/5.5/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #18 /wordpress/core/5.5/wp-settings.php(568): do_action(‘wp_loaded’)
    #19 /srv/htdocs/wp-config.php(84): require_once(‘/wordpress/core…’)
    #20 /wordpress/core/5.5/wp-load.php(42): require_once(‘/srv/htdocs/wp-…’)
    #21 /wordpress/core/5.5/wp-admin/admin.php(34): require_once(‘/wordpress/core…’)
    #22 /wordpress/core/5.5/wp-admin/customize.php(13): require_once(‘/wordpress/core…’)
    #23 {main}
    thrown

    • This topic was modified 4 years, 2 months ago by ram.
    #1241754

    Hey ram,

    Please rollback first using your backup.
    Then upgrade PHP to 7.3, then Enfold to 4.7.6.3 before updating to WordPress 5.5.
    Hope this helps.

    Best regards,
    Nikko

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