Tagged: error code
-
AuthorPosts
-
July 26, 2022 at 10:49 pm #1359501
Hi there,
I have an error on my site and since it’s appeared it’s not allowing the Advanced Layout Editor to load.
I have disable all the plugins and still the problem persists.
I am running Enfold Version: 5.0.1
Wordpress: WordPress 6.0.1Error Details
=============
An error of type E_ERROR was caused in line 563 of the file /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563Stack trace:
#0 /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor(‘post’, true)
#1 /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types()
#2 /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types()
#3 /public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(661): Avia_Gutenberg->force_classic_editor(‘page’)
#4 /public_html/wp-includes/class-wp-hook.php(307): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post))
#5 /public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)Thanks :)
- This topic was modified 2 years, 3 months ago by Orla. Reason: Updated screen shots
July 27, 2022 at 10:52 am #1359532Hey Orla,
Thanks for the login details. It looks like the Layout Builder is loading as it should on other pages? I see that the server is responding with a 403 forbidden error on the file in private, that likely means that it has a problem with something in your content. Is there some type of special content on the page in question? Please try to enable debug mode, so that we can copy the shortcodes to a test page: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode. We can do it for you, if you give us permission to do so.
Best regards,
RikardJuly 27, 2022 at 2:34 pm #1359557Hi Rikard,
There’s nothing special on the page. It’s a new page with simple content. It’s happed before and I deleted the page and rebuilt it from scratch. That would be great if you could help debug it.
Thanks!
July 27, 2022 at 4:39 pm #1359570Hi,
Thanks for that. I enabled debug mode and copied the content to a test page, please see private. The problem is the word include which was in your content. When those words are removed then the layout builder is loading as it should. This is likely due to a firewall setting on your server, please read more here: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#troubleshoot. Please reach out to your hosting provider, and ask them to whitelist the words in question.
Best regards,
RikardJuly 28, 2022 at 3:30 pm #1359705Thanks Rikard for your help with this, amazing support.
I would have never figured this out on my own.July 28, 2022 at 5:10 pm #1359732 -
AuthorPosts
- You must be logged in to reply to this topic.