-
AuthorPosts
-
January 23, 2021 at 12:16 am #1274872
WP Version 5.6
Enfold 4.7.6.4
PHP version: 7.2.26Avia 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!
January 24, 2021 at 4:37 am #1275015Hey 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,
RikardJanuary 24, 2021 at 3:00 pm #1275070This reply has been marked as private.January 24, 2021 at 5:22 pm #1275097Hi FFC,
Most likely it’s the modSecurity issue. Please have a look at this article:
Best regards,
VictoriaJanuary 26, 2021 at 8:01 pm #1275556This reply has been marked as private.January 28, 2021 at 6:54 am #1275986Hi,
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,
RikardJanuary 28, 2021 at 4:17 pm #1276078Hi,
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.
January 30, 2021 at 4:19 am #1276474Hi,
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,
RikardJanuary 31, 2021 at 6:22 pm #1276601Hi- 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.pngThanks!
February 1, 2021 at 12:36 pm #1276784Hi,
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,
RikardFebruary 1, 2021 at 5:56 pm #1276887Yes, 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.February 2, 2021 at 12:24 pm #1277103Hi,
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,
RikardFebruary 3, 2021 at 6:40 pm #1277435Hi- 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?February 5, 2021 at 5:41 am #1277834Hi,
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,
RikardFebruary 5, 2021 at 3:15 pm #1278042Hi,
On the /how-we-help-brands/ page, this code is in the testimonial text:<span data-sheets-value="{" data-sheets-userformat="{">
which gives this in the source code:
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,
MikeFebruary 5, 2021 at 4:10 pm #1278063Hi- 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
February 6, 2021 at 11:29 am #1278230Hi,
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,
MikeFebruary 9, 2021 at 1:57 am #1278880Hi- 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.February 9, 2021 at 12:21 pm #1279026Hey,
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,
YigitFebruary 9, 2021 at 7:33 pm #1279208Hi- 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.
February 11, 2021 at 4:47 pm #1279802Hi,
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,
YigitFebruary 11, 2021 at 5:31 pm #1279814THANK YOU! This workaround helps a lot.
I’ll try to get this sorted with the hosting company.February 11, 2021 at 9:58 pm #1279865Loading issue happens on this page, even tho “select” is not used.
February 12, 2021 at 6:42 pm #1280138Hi,
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,
YigitFebruary 12, 2021 at 7:46 pm #1280160This reply has been marked as private.February 12, 2021 at 10:02 pm #1280190Hi FFC,
You can try to do it via the .htaccess file.
https://stackoverflow.com/questions/12928360/how-can-i-disable-mod-security-in-htaccess-fileBest regards,
VictoriaMarch 22, 2021 at 3:31 pm #1289648Now, 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.
March 28, 2021 at 3:43 am #1290804Hi 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,
RikardMarch 29, 2021 at 8:08 pm #1291142Thank 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.April 1, 2021 at 8:13 am #1291706Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.