Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1249663

    I got this error trying to customize Enfold, after some updates (PHP 7.3).

    Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:529 Stack trace: #0 /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(389): Avia_Gutenberg->can_use_block_editor(‘post’, true) #1 /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(424): Avia_Gutenberg->init_force_classic_post_types() #2 /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(499): Avia_Gutenberg->get_force_classic_post_types() #3 /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(627): Avia_Gutenberg->force_classic_editor(‘page’) #4 /home/marcoboz/public_html/vitalyfood.it/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post)) #5 /home/marcob in /home/marcoboz/public_html/vitalyfood.it/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 529

    #1250024

    Hey Marco,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. Also, what exactly are you trying to customise and how?

    Best regards,
    Rikard

    #1250091
    This reply has been marked as private.
    #1250249

    Hi Marco,

    Thanks for giving us admin access.
    You’re still using Enfold 4.5.7, please update to the latest version (4.7.6.3) and make sure to have a backup first.

    Best regards,
    Nikko

    #1250471
    This reply has been marked as private.
    #1250693

    Hi Marco,

    I tried it and it works properly. I tried modifying h6 in Advanced Styling and then remove after and it all goes well.
    There’s no js error either, it maybe just a caching issue (browser fetching older cached js files)
    Can you try to clear the browser cache? or if you’re in Chrome, try to use Incognito mode.

    Best regards,
    Nikko

    #1259811

    I can confirm I had similar fatal error – after tying to access Appearance > Customise using Kriesi Enfold 4.5.7

    /wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 529

    Before finding this post – I was able to get around the error by accessing Enfold > Theme Options and Changing the <Select your Editor> to Use Block Editor.

    I can confirm Upgrading Enfold Parent Theme from 4.5.7 to 4.7.6.4 fixed the issue.

    #1259828

    Hi HuxburyQuinn,

    Thanks for confirming that updating to the latest version fixes the issue :)

    Best regards,
    Nikko

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