Forum Replies Created

Viewing 30 posts - 1 through 30 (of 138 total)
  • Author
    Posts
  • I found the issue. We get quite a lot of spam traffic and you do not check if the order types are even available.

    These spammers will hammer through all types of sorting and combinations if we have them or not:
    https://drive.google.com/file/d/1-vMxNlQ80lziJ76Ps7RPkZX9-oZA6511/view?usp=sharing

    Would be cool if you could test for validity first. Otherwise we try to intercept those calls but it is not a very generic solution.

    Appreciated. But that does not change the errors in the actual enfold files even if we comment all this out. There is some bug right in the Enfold WooCommerce filters itself:

    2024-04-23 07:33:39 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “rand” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:36:36 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “date” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:39:34 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “id” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:45:17 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “date” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:46:30 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “id” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:54:38 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “date” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 07:57:18 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “relevance” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 08:03:49 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “date” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 08:13:30 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “date” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’ Apache-Fehler
    2024-04-23 08:16:28 Warning AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “relevance” in /httpdocs/wp-content/themes/enfold/config-woocommerce/config.php on line 2061’

    in reply to: Hamburger Menu is gone after update #1440563

    Please close. I was able to adjust the css

    This line:

    
    $output .=			"<li><span class='currently-selected'>" . __( 'Sort by', 'avia_framework' ) . " <strong>{$product_order[$po_key]}</strong></span>";

    The only thing we do is to create our own list of sorting options in the child functions.php according to your recommendations (here https://kriesi.at/support/topic/store-sort-by-options-woocommerce/):

    
    /* 	Edit WooCommerce dropdown menu item of shop page
     	Options: menu_order, popularity, rating, date, price, price-desc */
    function my_woocommerce_catalog_orderby( $orderby ) {
    	
    	//check if we already did the resorting, otherwise skip it
    	if(isset($orderby["menu_order"]))
    	{
    		$orderby = str_replace("Default", "Recommended", $orderby);
    		$orderby = str_replace("Popularity (sales)", "Topseller", $orderby);
    		unset($orderby["menu_order"]);
    		unset($orderby["rating"]);
    		unset($orderby["date"]);
    		unset($orderby["relevance"]);
    		unset($orderby["rand"]);
    		unset($orderby["id"]);
        }
        
        return $orderby;
    }
    add_filter( "avf_wc_product_order_dropdown_frontend", "my_woocommerce_catalog_orderby", 20 );
    ---

    Something is not working right with the base theme it seems.

    • This reply was modified 1 month ago by Yigit. Reason: To wrap the code in the Code tag
    in reply to: Minify kills PHP service #1437485

    Got it. I disabled it and just use the compressed files. WP-Rocket Javascript merging is also switched off since it is not recommended for http/2 anymore:
    https://docs.wp-rocket.me/article/1009-configuration-for-http-2?utm_source=wp_plugin&utm_medium=wp_rocket

    in reply to: Minify kills PHP service #1437469

    Oh, btw – I can never actually use the Javascript merge & compress since it will always result in Frontend Javascript errors (we use WP-Rocket). Just wanted to let you know that there seems to be some kind of timing issue when the JS is merged.

    Best,
    El

    in reply to: Minify kills PHP service #1437467

    Hey Ismael,

    nope – if I switch it off it is gone. Will this fix go into the next release and if so when will you release it?

    Thanks,
    El

    in reply to: Minify kills PHP service #1437231

    Ismael,

    we already run this code since it is of no use for us. I think this is something else.

    Best,
    El

    in reply to: Toggle Snippet not working properly in Chrome #1428233

    Seems to work! Thanks

    in reply to: Toggle Snippet not working properly in Chrome #1428099

    I fixed it in Chrome by switching the toggle to elegant. But the other designs are still broken.

    in reply to: Toggle Snippet not working properly in Chrome #1428022

    To expand on this: depending on what you open all entries get scattered all over the place. Happens only in Chrome (for us).

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427952

    Mike,

    exactly. The only *real* solution would be to rebuild the burger menu js so that we could make sure to exclude all it´s parts. To circumvent the issue I even tried the fastclick library but it also obviously does not really solve the issue.

    Yes please close and thanks again!

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427857

    Mike,

    appreciate the help a lot and all good. Yes, it seems to be iOS specific but since this is a large user-base it is concerning. For now it seems we have to live with it but it is pretty bad from a user perspective. Again – appreciate the quick support!

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427770

    Hi,

    got it. Tried it and made a video as proof. Doesn´t work sadly.

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427765

    I was hoping for a way to make sure that just scripts required by the burger menu can be identified and excluded rather than removing all other delayed scripts that really are required to be delayed.

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427763

    Hi Mike,

    I emptied the cache but the issue seems to persist. What did you change? Just the change in Wp-Rocket? Excluding everything from (?:/wp-content/|/wp-includes/)(.*) is not really an option.

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427601

    Sure, thatbis the usual way. Most caches are disabled for logged in users. You have to test without being logged in. Everything is circumvented otherwise.

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427574

    Hi Mike,

    You might need to be logged in to see the report.

    Best

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427543

    Mike,

    sure thing and done. Thank you for taking care of it.
    Btw – there is also bug report of on Github but this is not limited to Safari: https://github.com/wp-media/wp-rocket/issues/3142

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427489

    Hi Mike,

    any news on this? The CDN is not the issue. It really is the why that scripts get delayed.

    Best,
    El

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427209

    Mike,

    super helpful thanks. I excluded several of these items but ultimately no change. In the end I would have to unqueue all js in the call stack that is triggered once the burger-menu is called.

    Call Stack:
    https://drive.google.com/file/d/1fzxCDHkSrVFKDXr0L_6TeOt3kOQkjH2S/view?usp=sharing

    But that seems like the wrong approach. There should be a way within Enfold that the menu takes precedence in the call stack.

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427103

    Hi,

    I only put exclusions in the delay entries – my bad. Also added alls AVIA scripts to the do not defer section. It is somehow still happening on mobile. Bizarre.

    Best,
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1427022

    Yes, I do and thank you. Unfortunately the touch event seems to get caught behind delayed actions no matter what I exclude.

    
    #top .dropdown_widget .buttons .button.checkout
    #top .dropdown_widget .buttons .button
    .woocommerce-mini-cart__buttons
    a.button.wc-forward
    a.button.wc-forward:hover
    .woocommerce-page .button
    #sv-rbadge-box
    #searchform
    #searchsubmit
    .avia-search-tooltip
    .inner-toolip
    .minus
    .plus
    .rating_container
    .woocommerce-product-gallery
    .header_color .avia-tt
    #top #searchform(.*)
    .avia-search-tooltip #searchform(.*)
    #top .avia-font-entypo-fontello
    .header_color .av_ajax_search_image
    .header_color .av_ajax_search_title
    .header_color .ajax_search_excerpt
    (.*).av_ajax_search_entry(.*)
    .ajax_search_response (.*)
    (.*).av_ajax_search_title
    (.*).ajax_search_excerpt
    (.*).av_ajax_search_image
    .header_color h4
    (.*).av_ajax_search_content
    .main_menu
    .menu-item-avia-special
    .av-hamburger
    .av-hamburger-box
    .av-hamburger-inner
    .av-burger-overlay
    .av-burger-overlay-scroll
    .av-burger-overlay-inner
    .av-active-burger-items
    .av-burger-overlay-active
    .av-burger-overlay-active-delayed
    .av-hamburger--spin
    .av-js-hamburger
    .avia_hidden_link_text
    .av-burger-menu-main
    #av-burger-menu-ul
    #avia-menu
    .av-width-submenu
    .current_page_item
    .current-menu-item
    .avia-menu
    .av-main-nav-wrap
    .menu
    .av-main-nav
    .sub-menu
    .av-burger-overlay-bg
    .inner-container
    #header_main
    
    
    \/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |'|"|>)
    /dynamic_avia/avia-footer-scripts-(.*).js
    /enfold/js/avia-snippet-hamburger-menu.min.js
    /enfold/js/avia.js
    /enfold/js/shortcodes.js
    /enfold/js/avia-compat.js
    /enfold/js/(.*).js
    /enfold/js/aviapopup/(.*).js
    /enfold/config-templatebuilder/avia-shortcodes/
    /wp-content/plugins/woocommerce-germanized/(.*)
    var avia_is_mobile
    

    It is a very common problem and I don´t know what the issue is but it seems that the burger-menu calls to some other function that still does get delayed.

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1426980

    Of course. This is the standard for any Enfold Wp-Rocket user.

    There is a script that is triggered when opening the burger menu. Which one is it?

    Best
    Elmar

    in reply to: Burger Menu JS click action is deferred by WP-Rocket #1426975

    Appreciated but all this is working fine. The javascript action of the hamburger menu is getting deferred. So I need to know that script triggers the opening tap action. Appreciated!

    in reply to: Performance hit of aviaPopupTemplatesBase #1417306

    Hi Ismael,

    It seems to be loaded in the frontend as well.

    I was using “Code Profiler Pro” with a not-logged-in user. I used a woocommerce cart hash from another non-logged user with a filled shopping cart to simulate the request to the cart.

    It loads tons of scripts but first page runner ups as far as enfold is concerned are sorted by execution time:

    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-popup-templates-base.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-modal-elements.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php
    wp-content/themes/enfold/framework/php/function-set-avia-backend.php
    wp-content/themes/enfold/framework/php/function-set-avia-frontend.php
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php
    wp-content/themes/enfold/functions.php

    Best,
    El

    in reply to: Product Images in one line with touch enabled version #1404696

    Hey Yigit,

    the other way around. All thumbnails in the same ONE line under the main image. It makes sense now that one can swipe the main image.

    Best.
    Elmar

    Thanks Mike.

    To anyone using image optimization – exclude the class “zoomImg” from resizing operations.

    Best,
    Elmar

    in reply to: Give Shop Page Glassy Header + Transparency #1401662

    Mike,

    super helpful. For everyone: I test my Shop Setup in an unpolished page with the advanced layout editor and then copy+paste the page code to the actual shop page. Works brilliantly.

    Best
    Elmar

    in reply to: 5.5 with swipe support – when #1400999

    Hi Rikard,

    close it – thanks. Would be cool to get somehow notified as soon as the new version is released.

    Best
    Elmar

Viewing 30 posts - 1 through 30 (of 138 total)