-
Search Results
-
Topic: Update has broken my Code
Hey guys,
I’m not very savvy when it comes to code so bare with this explanation. As the title suggests, Updating Enfold has killed code within our site.
To give a rundown, we use code from another company who look after our vehicle inventory & to display our vehicles on our site.
Everything works perfectly on 4.6.3.1. but once updating to 4.7.3 things stop working at all.It varies from super slow load speeds to not loading at all. sometimes it works but then if you leave the page and go back it stops working.
This is only on our VEHICLES page. NOT the VEHICLES DETAIL page.The only thing I’ve changed between the working site and the staging site is the update.
The website which works is: https://www.4guys.co.nz/vehicles/
The staging which does not is: https://fearless-berry.flywheelstaging.com/vehicles/Any ideas at all? This is the code we use inside the ‘Code Block’
<div id=”apsr_placeholder”></div>
<script type=’text/javascript’ src=’https://apsr.autoplay.co.nz/Content/js/loader.search.min.js?v=” + (d.getMonth() + 1) +”” + d.getDate() + “‘></script><script type=”text/javascript”>
config.ID = “75”;
config.Framework = “css-search-percentage”;
config.Theme = “”;
config.PercentageFrame = true;
config.DetailUrl = “vehicle-details/”;
</script>no idea what is going on, but i’m getting ‘critical error’ wordpress warning when clicking on some search results. clicking on some products returns a black screen. any ideas? see links below in private content.
Hi @yigit,
i use the “WOOF Products Filter” on my localhost testarea.
It worked for a while, but then it stopped.
Developer says its a JQuery conflict coming from the theme.
He recommended to look for a better theme.I cant believe that Enfold is causing the issue.
Can you please either confirm or deny?M.
PS: There are the errors from the console:
Diese Seite verwendet die nicht standardisierte Eigenschaft “zoom”. Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder “transform” zusammen mit “transform-origin: 0 0” verwendet werden.
ReferenceError: jQuery is not defined
ReferenceError: jQuery is not defined
unreachable code after return statement 2 chosen.jquery.min.js:516:12
TypeError: cannot use ‘in’ operator to search for “length” in “[]” jquery.js:2:4230
TypeError: cannot use ‘in’ operator to search for “pa_format” in “[]” checkbox.js:65:13Topic: mixed content
Hi,
firefox tells me an mixed content error, but i fixed all with better search and replace.My domain is safe but i have this message in the firefox console:
“http://test.kriesi.at/enfold-health-coach/wp-content/uploads/sites/19/2016/05/food-bg-3.jpg”
It looks like an image link from theme demo files.
How can i fix this?
Hi,
Many times I would like to change a file in Enfold am I’m searching the forum on how to do so. In the end it never works because I don’t understand what to do, or what I do doens’t work. I am hoping you can help me out.
In this specific case I want to edit the file /enfold/config-templatebuilder/avia-shortcodes/timeline/timeline.php. There is something wrapped in
<strong>that I want to remove on line 1313. What I want is to copy the file to my child theme, make sure that this file is loaded instead of the Enfold file (this is where I get stuck) and make changes to this file.Can you please help me with this specific solution but more important, with a better understanding of when and which files I can edit and what is the correct way to do so? My aim is also to lower the amount of questions on the forum.
Thanks so much,
DanielTopic: Issue with Product Variation
Hello,
i am developing an e-shop with Enfold shop theme.
So far all good.
I realized in the process that the variable products don’t change image when i am setting it in the variation.
The only way i can change the variation is if i haven’t set on the product a featured image.
Searching for an answer i checked google developer console and i found that i had warnings:
[DOM] Found 6 elements with non-unique id #_ajax_nonce: (More info: https://goo.gl/9p2vKq)
[DOM] Found 3 elements with non-unique id #avia-save-nonce: (More info: https://goo.gl/9p2vKq)
[DOM] Found 2 elements with non-unique id #current-page-selector-1: (More info: https://goo.gl/9p2vKq)
[DOM] Found 2 elements with non-unique id #woocommerce_meta_nonce: (More info: https://goo.gl/9p2vKq)
[DOM] Found 2 elements with non-unique id #product_length: (More info: https://goo.gl/9p2vKq)Can you help me fix with these issues?
If you need access please say so and i will send you an account to make the changes.Thank you.
Disolt’s TeamBackground Summary: I’ve used Enfold for many clients for many years, always use latest version of WP and Theme. Congrats on building something that works well, has been very reliable, and is always updated.
Issue Research: Making changes to a page in the Advanced Layout Builder (ALB) and clicking the Update button saves the changes to the database posts table successfully (and shows in Revisions), but NOT to the postmeta ‘_aviaLayoutBuilderCleanData’ field, and then the theme seems to be pulling from that field to display the page, which displays an old version of the page, not from the posts post_content field like normal. I’ve verified using Chrome Dev Tools that the POST submission has all the posts and postmeta fields with correct values containing the updates made, and gets a 200 success response, but the postmeta CleanData field is not updated for some reason.
Multiple Updates are made, and if using the Block Editor, clicking Update says it works, but displays the old version, and reloading the Editor page causes all those changes to be LOST. We’ve lost hours of work due to this issue. Changing the page status from Draft to Published seems to help for some reason. Cloning the page does not help.
I have tried multiple servers, migrating a site from one to another, same issue. Disabled all plugins, disabled all caching, same issue. It does not happen on all pages, but even removing sections of the page don’t seem to help, once it’s not working, it stops updating.
Interestingly, if I delete the ‘_aviaLayoutBuilderCleanData’ field value in the database, then the page updates ok, and the page displays ok. It doesn’t seem to recreate it right away either… a few updates work ok, then once it recreates it, it doesn’t display any updates made again, and the issue is back.
I searched and found many posts with similar issues, but most seem to be either certain text or sections or characters cause it to break, such as the special character replacement noted in the docs, and that’s a shame, the text should be escaped or something. If it’s parser related, it’s only affecting the CleanData field value, which is the problem. Upon failing to update, it should delete that field then, so it falls back to displaying from the posts post_content field like a normal site would
I have created a workaround that seems to solve the issue completely, and this code can be placed in the functions.php of a child theme, or as I prefer, use the Code Snippets plugin and have it fire only in the Admin:
function fix_for_enfold_page_builder( $post_ID, $post ) { $page_builder_active = get_post_meta( $post_ID, '_aviaLayoutBuilder_active', true ); $page_builder_shortcode_tree = get_post_meta( $post_ID, '_avia_builder_shortcode_tree', true ); if ( $page_builder_active && $page_builder_shortcode_tree ) { update_post_meta( $post_ID, '_aviaLayoutBuilderCleanData', $post->post_content ); } } add_action( 'wp_insert_post', 'fix_for_enfold_page_builder', 10, 2 );I would suggest Enfold stop using ‘_aviaLayoutBuilderCleanData’ completely, as it’s very concerning when updates show in Revisions and in the Editor, but are not actually used for the display of the content, that’s a major bug and no matter the cause, storing two versions of a page is bound to have issues and cause problems, not to mention take up twice as much space in the database.
Hello Enfold Team,
we noticed something special today. On our pages the widget “next events” is not displayed on the Search Result Sites. How can we fix this error?
Thanks for your support.
Tobias
Topic: Iframe Wont Load
I Frame not displaying.
I am using the latest version of Enfold and have WPML translat installed.
When I go to the different langauges, the embedded search box in an iFrame will not load, even though in the code, it is present.
Here is the page working
Here is the page not working in French
https://www.parrotshotel.com/booking/?lang=fr
I have disabled all the other plugins with no effect.
Any ideas on what might be causing the iframe not to load?
Topic: Product Visibility
Hello
I am facing some problems and i gave up researching ! Hope you can helpThe search function on Enfold keeps showing the results of “out of stock” products although i have disabled the option to show “out of stock” products from within WooCommerce Product Inventory settings.
Is there any way i can solve this case ?
Also Product Visibility when set to “shop only” (excluding search), does not work, as i can still see the product in the search result (i did clear my browsing history, cache, cookies etc .)Thank you !
Topic: Support Link Hidden
What a frustrating experience to find the link to create a new forum topic. We paid, we are logged in and still, the button to ask for support or create a new topic in the forum is nowhere to be found. Why don’t you make it more obvious? Put it in the menu as “Ask a support question” or “report a malfunction” or “propose a new feature”. Then you can write there that a login is required, or that you want money or whatever. But don’t make us search and browse through unstructured forum entries for hours. We come to this website because we are your clients and we build websites with the wonderful Enfold theme. And every once in a while we have something to communicate with you guys.
Please, be a bit more corporate …Hi there!
We are trying to limit ajax search form results to 5, as it is configured on Enfold block. But results shows unlimited results. We have installed Relevanssi plugin.
We have tried many code customizations without success.
What can we do?
Regards
I wanted to jump in and say I have been having the same issue as others in recent threads, but I dont seem to see much of a response from the Enfold team.
Since an Enfold update that i applied on 1/17/20 my traffic tanked to near 0. It magically came back with another Enfold update on 1/28/20, but is again not work as of last week on 2/11/20:
I have not actually lost the traffic, its there, but it’s not tracking. Here is my Search console:
So the issue appears to be the new GDPR and privacy settings in Enfold. I have them ALL turned off under the privacy policy tab, and I have disabled cookie consent messages. So not sure why this is impacting me at all.
Any suggestions?
This topic has numerous posts over the years. The recommendation from mods to stop the Google Search Console error is to disallow the directory in robots.txt.
However as pointed out by user pentasys further on in this thread, this is not enough to stop the error.
The user suggested to add an index.html file to the directory with a noindex command is fine: except that after every Enfold update, every user would have to remember to re-add the index.html file into /framework because the update would (I assume) overwrite/delete the user-added index.html.
A further user suggestion was then made for the theme to permanently add such a file into /framework, with the correct code to stop indexing, so that these Console errors are stopped permanently, and then (I assume) we can also remove the Disallow from robots.txt.
This suggestion has been ignored. I’m fed up with these “errors” being reported to me every month or so by Google, for what is a problem of the theme’s making.
This is a simple fix. PLEASE can a request be added so the next theme update adds index.html to /framework to solve this problem once and for all? After all, some folks might not search back through old posts and you mods will just keep answering this same old question for the rest of eternity: unless you fix it… :-)




