Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #1274872

    WP Version 5.6
    Enfold 4.7.6.4
    PHP version: 7.2.26

    Avia Layout Builder is not loading properly in some pages of my website. Front End layout seems fine, however backend editing shows a spin icon that keeps spinning forever and the builder blocks don’t ever show up.

    Thank you for your help!

    #1275015

    Hey FFC,

    Thanks for the login details. You are getting a 406 error on the file in private, I’m not sure why that is though. Please enable debug mode so that we can copy the content 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

    #1275070
    This reply has been marked as private.
    #1275097

    Hi FFC,

    Most likely it’s the modSecurity issue. Please have a look at this article:

    Best regards,
    Victoria

    #1275556
    This reply has been marked as private.
    #1275986

    Hi,

    Thanks for the update. I activated debug mode and copied one of your problem page content to a test page, please see private. I deleted section by section from the end, and it started loading as it should after I deleted a couple of sections. Could you try to recreate the rest of the content in the test page, to see if that works better? If not then please let us know when you run into problems.

    Best regards,
    Rikard

    #1276078

    Hi,

    Now I’m coming across an issue where the save draft button is grayed out.
    There’s no way to save now.

    Thank you for your help.

    #1276474

    Hi,

    Thanks for the update. I tried recreating that on the test page, and it looks to be working fine if you check it now. If there is a problem, then it might be with the content you are adding. Could you share exactly what you are trying to add, so that we can try it out please?

    Best regards,
    Rikard

    #1276601

    Hi- Loading issue seems to reoccur once I put the content in the testimonials box as a quote.

    The preview looks great (see below for exact content) but once I save, loading issue comes back.
    https://www.fitforcommerce.com/wp-content/uploads/2021/01/2021-01-31_11-19-04.png

    Thanks!

    #1276784

    Hi,

    Thanks for the update. So you are putting block quote tags in the testimonial?

    <blockquote>Your testimonial</blockquote>

    If so then that is the likely cause of the problem. We can help you out with styling the testimonials so that they look like quotes instead of actually adding the tags.

    Best regards,
    Rikard

    #1276887

    Yes, I was. But that does not seem to be the issue.
    Even without the block quotes, I’m getting the loading issue once I hit save.

    #1277103

    Hi,

    Thanks for the update. I tried removing the last section on the test page, then I recreated it. The same problem happens after that unfortunately. It might be related to a security setting on the server: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#troubleshoot

    This is a rare case but if typing certain words, such as “get” or “include“, in Text Block element breaks it after saving, there might be a modsec rule in firewall settings causing this issue.

    This is a security measure taken by hosting providers and it is not a theme issue. You can contact your hosting providers and ask them to whitelist those words and that should fix the issue.

    Could you try reaching out to your hosting provider to see if that might be the problem please?

    Best regards,
    Rikard

    #1277435

    Hi- we had our hosting company whitelist the modsec rule IDs.
    We still seem to be having the same issues…any other suggestion on fixing this?

    #1277834

    Hi,

    Thanks for the update. I tried experimenting with the test page a bit, and the problem starts when I add this as the second list item in the Text Block element:

    FitForCommerce performed a full diagnostic of an international apparel brand’s ecommerce business, including UX, marketing, marketplaces operations, customer support and shipping. The deliverable included diagnostics results, prioritized recommendations to increase revenue through digital channels as well as a review of the current organizational structure and org design recommendations.

    I can’t see any reason as to why that would not work though. I’ll check with the rest of the team to see if they can see what is going wrong. Please reply to this thread so that it gets added back to our support queue.

    Best regards,
    Rikard

    #1278042

    Hi,
    On the /how-we-help-brands/ page, this code is in the testimonial text: <span data-sheets-value="{" data-sheets-userformat="{">
    2021-02-05_073613.jpg
    which gives this in the source code:
    2021-02-05_070233.jpg
    Since I couldn’t edit the /how-we-help-brands/ page, I added it to the /kriesi-test/ page and seemed to help on the frontend but the backend was not editable. As I researched further I found that adding any element to the 3/5 column seems to break the backend of the page (406), but removing the columns makes the page editable.
    When I test the same shortcode on my localhost I don’t get any errors, did you try disabling your plugins?

    Best regards,
    Mike

    #1278063

    Hi- thanks for looking into this issue. It doesn’t seem to be the color block or the tesimonials since these elements seem to work fine on other pages.

    Which plugin do you suggest we remove?

    Thank you.

    • This reply was modified 3 years, 9 months ago by FFC. Reason: added image
    #1278230

    Hi,
    I recommend disabling, (not remove), all of your plugins to see if this error continues, then you can enable one at a time to find the one causing the error.
    Did you recognize the code that was in with the text: <span data-sheets-value="{" data-sheets-userformat="{"> do you think any other elements have similar code?

    Best regards,
    Mike

    #1278880

    Hi- I tried disabling the plugins but issue did not get resolved.
    I also did not recognize the code. I deleted it and it looked fine on the frontend (view page), but the loading still happens when I swtich back to advanced layout.
    Not sure what else I can try at this point.

    #1279026

    Hey,

    Please see “Troubleshoot: Text Block element not loading” section here – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#layout-builder-is-not-loading-properly

    Please contact your hosting provider and ask them to whitelist the word “select”

    Regards,
    Yigit

    #1279208

    Hi- we had our hosting company whitelist all the words that was mentioned in the documentation. I agree that the issue is the word “select” as if i omit it, the backend seems to load! I checked w/ our hosting company again and here’s their response:

    We have checked the logs but we can not find any logs for the ‘select’. Hence, our server is not blocking the word ‘select’.

    I’m still coming across the same issue when “select” is used in the text field.

    #1279802

    Hi,

    Honestly, I am not sure how exactly they would need to whitelist it but users who had similar issues contacted their hosting providers who adjusted modsec rule in firewall settings and that fixed their issue.

    In the worst case, please add following code to bottom of Functions.php file in Appearance > Editor

    function select_shortcode() {
    return "select";
    }
    add_shortcode( 'sel', 'select_shortcode' );

    and use [sel] where you would normally type “select”. That shortcode basically echoes “select” :)

    Best regards,
    Yigit

    #1279814

    THANK YOU! This workaround helps a lot.
    I’ll try to get this sorted with the hosting company.

    #1279865

    Loading issue happens on this page, even tho “select” is not used.

    #1280138

    Hi,

    I created a private test page and tried removing certain sections and words however page only loads when I delete almost everything on the page.

    Could you please ask your hosting providers to temporarily disable mod security so we can check if page loads correctly then?

    Best regards,
    Yigit

    #1280160
    This reply has been marked as private.
    #1280190
    #1289648

    Now, the testimonials element is breaking something, it seems. Once the page is published, the whole builder just shows the loading forever when I try to edit. I made sure I’m not using the trigger words like select, etc.

    #1290804

    Hi FFC,

    I’m very sorry for the late reply. I enabled debug mode on your site, and copied the problem page to a test page. Please see private. I tried removing special characters, and checking for any of the “problem” words listed in the documentation which Yigit linked to previously. When I edited the only select word you had in your text, then the layout builder started working after that.

    Could you try using a different word other than select, or use the shortcode solution which Yigit suggested above please?

    Best regards,
    Rikard

    #1291142

    Thank you for taking a look.
    I tried to view the test page you created but when I “View Page” or “Preview”, it has nothing in the body (there is the default left sidebar).

    [sel] doesn’t work anymore…it shows up as “[sel]” on the actual page.
    This also happened on another page ([sel] workaround used to work great…not sure if it was due to some updates I ran).
    I will avoid using the word “select” for now. Seemed to have fixed to loading issue.
    Please let me if you can think of a different workaround than [sel] since that seems to no longer be working for us, and I do need to use this word.

    #1291706

    Hi,

    Please let me if you can think of a different workaround than [sel] since that seems to no longer be working for us, and I do need to use this word.

    Does the custom shortcode that we provided above still exists in the functions.php file?

    function select_shortcode() {
       return "select";
    }
    add_shortcode( 'sel', 'select_shortcode' );
    

    Maybe it was removed after one of the updates?

    Best regards,
    Ismael

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