Tagged: Gutenberg
I’ve browsed looking for a solution but haven’t found one that works. Updated WordPress today and discovered this gem. Please advise ASAP:
Fatal error: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563 Stack trace: #0 /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor(‘post’, true) #1 /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types() #2 /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types() #3 /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(671): Avia_Gutenberg->force_classic_editor(‘page’) #4 /home/customer/www/hart2hart.com/public_html/wp-includes/class-wp-hook.php(287): Avia_Gutenberg->handler_display_post_states(Array, Object(W in /home/customer/www/hart2hart.com/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 563
Read your reply. Is there an update to Enfold that I don’t know about?
OK, fixed it. I had to update the theme. I wasn’t notified because I didn’t install my Envato Token. Here’s the link for info:
Hi Solan,
We’re glad to hear that it’s fixed :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko