Broken CSS after last update
Hi BeTheme Team,
Since the last update all sections have "Array" appearing in different CSS properties of sections. Example given below
section.mcb-section-2db59895c {
- background-color: #145ACB;
- background-image: url(Array);
- background-repeat: Array;
- padding: Array;
- background-size: Array;
- background-position: Array;
}
Can you please help us getting it fixed?
Comments
Hi,
Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.
It is always a good idea to also attach a screenshot showing your issue.
Thanks
Here is a link to the page.
https://www.discretelogix.com/hire-cloud-developers/
This issue is appearing sitewide. Sections css is broken hence there are no gaps and no background images. Paralex is also failing due to this issue.
Also the console shows following error
GET https://www.discretelogix.com/hire-cloud-developers/Array 404 (Not Found)
All the pages where custome values have been assigned, are not facing this issue.
Please send us the WordPress dashboard and FTP access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Requested information has been sent via given link.
We have corrected it on your website.
Please check it out now.
Best regards
Issue is fixed but our website has been restored to a previous version, and all the changes that we have done during last 10 days have been lost. Can you please let us know what changes have been made from your end? Should we proceed with restoration to our latest backup taken during last 12-24 hours?
It will be good if we can restore and you can let us know the specific steps where we need to change the code etc?
Yes, please restore a backup and create the same account for us so we can log in, and we will correct that again for you.
It is not so easy to explain the steps to correct this, as we must look into various places, so it will be easier and faster to correct this again.
Best regards
Hi, we have restored the latest backup. You can login using same credentials which were shared earlier. Please fix this and make sure that we are not reverted to the previous versions while you make changes.
Thanks. We are in the process of correcting that.
I will let you know when we finish.
Best regards
Hi There,
Waiting for update on this.
It seems that issue has been partially fixed. There is no more "Array" in the CSS. However, Global sections are now losing their styling wherever these are being used on pages. For example take a look at images below. The colored image is actual global style but when we add it to page, it loses styling. This is happening to other global sections as well.
Probably this is due to the reason that the css coming from static blocks is being served over http instead of https. Here is an example.
Mixed Content: The page at 'https://www.discretelogix.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.discretelogix.com/wp-content/uploads/betheme/css/post-45141.css?ver=1744623881'. This request has been blocked; the content must be served over HTTPS.
Sorry, we couldn't take care of it properly because it was the weekend.
Anyway, it is corrected as you noticed.
Global section styles do not load because of the mixed content related to the website URL. See the following article about it:
https://support.muffingroup.com/faq/bebuilder-content-different-from-frontend-missing-styles/
Best regards
Thank you! We will check it thoroughly and get back to you if required.
Hi There,
It seems that the "Array" value of css is still persistent in one of the sections named Section - Squads https://www.discretelogix.com/wp-admin/post.php?post=10369&action=mfn-live-builder.
I have attached a screenshot of the inspector as well.
Corrected that as well.
Please check it out.
Best regards
Yes, it's fixed. Thank you.
One last thing. https://www.discretelogix.com/ For first couple of seconds, the menu appears, which makes the site look broken as per the screenshot. Afterwards, it loads completely fine. Both CSS and jQuery are being loaded in header isn't cause of the problem. Theme has been upgraded to latest release i.e. 28.0.4 today. Not sure, if it has something to do with that or not.
In Betheme -> Theme options -> Performance, please change Builder local styles to Inline in header.
Best regards