Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.

    Loading page

    I have disable all the plugins and still the problem persists.
    Plugins

    I am running Enfold Version: 5.0.1
    Wordpress: WordPress 6.0.1

    Error 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:563

    Stack 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, 5 months ago by Orla. Reason: Updated screen shots
    #1359532

    Hey 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,
    Rikard

    #1359557

    Hi 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!

    #1359570

    Hi,

    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,
    Rikard

    #1359705

    Thanks Rikard for your help with this, amazing support.
    I would have never figured this out on my own.

    #1359732

    Hi,

    Great, I’m glad that we could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

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