Home Forums WoodMart support forum Mobile menu not working, WooCommerce 8.5.1 woodmart 7.4.3

Mobile menu not working, WooCommerce 8.5.1 woodmart 7.4.3

Viewing 30 posts - 1 through 30 (of 33 total)
  • Author
    Posts
  • #531881

    av_admin_1984
    Participant

    Hi
    Today after updating from version 7.3.4 I upgrade to 7.4.3
    then understood that mobile users cannot open the menu

    this is a configuration for my LiteSpeed cache I attached

    in the old version of woodmart, with these settings, everything works, but with your new version it seems there is a conflict of js file and with LiteSpeed cache plugin

    If I change the js settings in my cache plugin, the load time of page will increase and I loos my rank in SEO

    I downgrade to the old version…

    Tell me what should I do now?

    Attachments:
    You must be logged in to view attached files.
    #531885

    av_admin_1984
    Participant

    For now, I’m using WoodmartVersion: 7.4.3 and downgrading the Junk woocommerce to Version 8.4.0 and all things worked correctly

    But please you fix this issue with opening menu mobile in last version of this Junk plugin

    #531945

    av_admin_1984
    Participant

    It works randomly on different mobiles…

    When you published version 7.4 I did not download it, if you have it, please share it here

    #532233

    Luke Nielsen
    Keymaster

    Hello,

    Could you please send me access to the website where you use the Litespeed plugin? Or do you mean it’s that website where you use WP Rocket? Please clarify.

    Thank you for your time.

    Kind Regards

    #532282

    av_admin_1984
    Participant

    Hi

    I can give you access but I rather not, because you answered with delay and this is a live website

    This problem is for Woocomerce or woodmart, but it appears after you and Woocomerce update, this conflict with LiteSpeed cache

    I’m not using wp-rocket

    #532305

    av_admin_1984
    Participant

    Share the woodmart theme version 7.4 please

    #532607

    Luke Nielsen
    Keymaster

    Hello,

    In order to understand from where the issue comes (either Woocommerce or WooMart), please check how it works with some default WordPress theme like WooCommerce Storefront to understand if is it our theme issue or not (check it with the latest version of the theme and WooCommerce).

    Let me know the result.

    Kind Regards

    #533045

    av_admin_1984
    Participant

    Hi

    I just need to know exactly what file is responsible for mobile menu in js and what file is responsible for loading google map in your theme
    so I can exclude that file in my cache plugin
    just tell me the file name

    thanks

    #533400

    Luke Nielsen
    Keymaster

    Hello,

    Try to exclude these files:

    jquery.min
    helpers.min.js
    cartWidget
    mobileNavigation
    menuSetUp

    As for the Google map, here is that file:googleMap.min.js

    Kind Regards

    • This reply was modified 11 months, 4 weeks ago by Luke Nielsen.
    #533719

    av_admin_1984
    Participant

    Hi
    I added them, but nothing changed!

    the latest woodmart theme, latest woocommerce plugin 8.5.2

    I found this error in theme folders

    [25-Jan-2024 04:51:30 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_header() in /home/site/public_html/wp-content/themes/index.php:11
    Stack trace:
    #0 {main}
      thrown in /home/site/public_html/wp-content/themes/index.php on line 11

    this is a live site, it’s not a test
    give me a solution to fix the menu problems and conflicts with LiteSpeed cache plugin,
    before the update, all things worked fine, but now with all updates, I have problems

    On the home page, the hamburger menu won’t work at all and if touch it, it shows the # sign in address bard, but sometimes in the shop page, it works with a delay

    #533735

    av_admin_1984
    Participant

    until you solve this issue, I turned off JS Delayed in the LiteSpeed cache
    waiting for your respond…
    Thanks

    #534174

    av_admin_1984
    Participant

    Yes! this is the weekend and you always respond with a delay…

    #534425

    Luke Nielsen
    Keymaster

    Hello,

    In general, we use these excluded files for JS Delayed in WP Rocket, you can try to use them for the Lite Speed cache as well:

    jquery.min
    helpers.min.js
    clickOnScrollButton
    searchFullScreen
    menuOffsets
    menuDropdowns
    cartWidget
    mobileNavigation
    loginSidebar
    menuSetUp
    cart-fragments
    slick
    productImages
    cookie.min
    owl.carousel
    owlCarousel
    imagesLoaded

    As for the error, get_header() is a WordPress template tag. Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand if is it our theme issue or not?

    Looking forward to hearing back from you!

    Kind Regards

    #534432

    av_admin_1984
    Participant

    Finally after 4 days you are here…

    I don’t care what file was responsible , I asked you many times to share with me the theme version 7.4 and you did not

    Before woocomerce and woodmart update, the speed of my site was well and I spent many hours to fix that speed issue, with this update all I did was gone!

    I need correct answer

    Why your theme is not compatible with Litespeed Cache? I must use wp-rocket to optimize my site?

    If I put all those files in exclude the JS delay, So the cache plugin will Deferred or delay what?
    with excluding those files, they will run in my page at the top of head tag and my speed will collops again

    so please tell me after all these Are You Kidding Me?

    #534473

    Luke Nielsen
    Keymaster

    Hello,

    1. I can’t investigate the issue without access to the site, since it’s a live website, please replicate the issue on the test website so I can check it properly and find some solutions.

    2. `PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/site/public_html/wp-content/themes/index.php:11
    Stack trace:
    #0 {main}
    thrown in /home/site/public_html/wp-content/themes/index.php on line 11
    `

    This path in the error log/home/site/public_html/wp-content/themes/index.php:11 there should not be any custom codes in this themes folder by default, and the error occurred because of the custom code in that file.

    Thank you for your time.

    Kind Regards

    • This reply was modified 11 months, 3 weeks ago by Luke Nielsen.
    • This reply was modified 11 months, 3 weeks ago by Luke Nielsen.
    #534483

    av_admin_1984
    Participant

    I can not create the subdomain or subfolder because this site has many plugins that only work on the main domain!
    so tell me how do give you access?
    of course you will edit the site, deactivate the plugins, and much more, and in my experience you will share the details in public and I can’t give you access to this

    you didn’t share all versions of woodmart again, I asked many times but you ignored my message

    give me another solution

    #534619

    Luke Nielsen
    Keymaster

    Hello,

    Send me access via the private area so I will just check the settings on the site, if I need some additional actions, I will ask for permission.

    When I sent the previous message, I sent the 7.4 version to your email as well.

    Kind Regards

    #534636

    av_admin_1984
    Participant

    Hello Luke

    I received your email and thanks for that.

    Go to LiteSpeed Cache -> Page Optimization -> JS Settings -> Load JS Deferred -> activate the Delayed button , based on an image I attached, it is off now, then hit the Purg All

    I give you Site login and Cpanel admin

    Attachments:
    You must be logged in to view attached files.
    #535097

    Artem Temos
    Keymaster

    Hello,

    We have fixed this issue on your website https://gyazo.com/66afa743586f9d77acaaf774655d0ddc
    Please, test how the mobile navigation works now.

    Kind Regards

    #535241

    av_admin_1984
    Participant

    Hello

    Thanks for working on my site,

    the mobile menu is working but I see a speed issue

    Google Chrome Lithouse and pagespeed.web.dev shows some errors that before updates, I don’t have them.

    JS Combine should be On, you turned of,

    This conflicts your theme with the litespeed cache plugin, I want to solve it by not adding exceptions on litespeed, they should not go to the exceptions tab, they should JS Minify and JS Combine because you load more than 30 JS files in front-end, reduce them, or fix issues with LiteSpeed cache
    I want to have a maximum speed near 100 score

    Either you can change your JS file with Vanilla JS

    Waiting for your reply

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #535327

    Artem Temos
    Keymaster

    Hello,

    Litespeed seems to be removing these scripts from the page completely or changing their order if you don’t add them to the exclusion list. We can’t influence this. You need to contact the plugin’s developers for help on this matter.

    Kind Regards

    #535339

    av_admin_1984
    Participant

    Hello

    Give me detailed explanations so that I can discuss with their team and solve the problem

    #535490

    av_admin_1984
    Participant

    Now tab-additional_information won’t work…
    Google maps in my blog post won’t work either

    #535521

    Artem Temos
    Keymaster

    Product tabs is a WooCommerce element so it seems like the WooCommerce script is broken by Litespeed. Ask plugin’s developers to check this either.

    And send us a link to the page with Google map element.

    #535535

    av_admin_1984
    Participant

    Litespeed seems to be removing these scripts from the page completely or changing their order if you don’t add them to the exclusion list. We can’t influence this. You need to contact the plugin’s developers for help on this matter.

    Give me detailed explanations so that I can discuss with their team and solve the problem

    #535537

    Artem Temos
    Keymaster

    Google maps work well on this page.

    You can forward that message. There is nothing else to add since when you exclude some files in the plugin’s settings they work correctly.

    Kind Regards

    #535591

    av_admin_1984
    Participant

    You can forward that message. There is nothing else to add since when you exclude some files in the plugin’s settings they work correctly.

    I don’t understand what you mean

    #535706

    Artem Temos
    Keymaster

    I mean that you can send my message to the developers of the plugin. Ask them to enable delay JS without exclusion and check why the scripts that I added to the exclusion list are not loaded on the places where they should be. All scripts should be loaded in the order they are on your page even if they are delayed.

    #536791

    Maxor
    Participant

    Hi

    I have read this discussion

    i can see some users have problems with Litespeed cache

    do you recommend to use WP Rocket instead ?

    we are on a litespeed server, but we can use either Litespeed cache plugin or WP Rocket plugin, which one do you recommend ? (i can see you have wp rocket on your demos sites)

    Thanks

    #536794

    av_admin_1984
    Participant

    Hi @Maxor
    If you are going to use WP-Rocket, then change your web server to Apache or Ngnix,
    Litespeed cache plugin is designed to work with Litespeed Web server.
    Woodmart must solve these type of issues

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