Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • luxtools

    (@luxtools)

    I too, am getting this error :'(

    I thought it was perhaps the geolocate plugin I use for currency, but removing that did not fix the issue.

    edit: I run a multisite and had a snippet allowing webp on the network which totally breaks the site (but allows me to upload webp… why can’t I upload webp on a multisite???)

    Putting it into safe mode and removing fixed this ??

    • This reply was modified 9 months ago by luxtools.
    Thread Starter luxtools

    (@luxtools)

    I have been trying to debug this for ages. I ended up removing all the lscache rules in htaccess, purged, reverted the settings, reinstalled etc and the default installation is still giving me the same issue (where it is serving cached pages to admin (no admin bar, it thinks i’m not logged in, unless i go to an uncached page). Interestingly I don’t have this issue on mobile. I also removed redis/object cache which didn’t help. I saw an old post where staff suggested editing “cachelookup public” on > off, but that seems to simply disable the cache, as far as I can see?

    I think i’ve solved the “not being able to log in” by removing all the optimisation features. I need to further explore which particular setting is causing this.

    I might open a ticket ? – as I’m kind of spamming this right now and need it working :'(

    (there’s another issue also where currency is being cached on product express apple pay buttons which i’d love to fix, but that’s not a total priority as I can remove them for the time being).

    Regards

    Thread Starter luxtools

    (@luxtools)

    I am also being served cached pages while signed in, as the top admin bar is missing. It’s not until I go to an uncached account page it reappears. I tested the option to not serve cache to logged in users too.

    When signed into admin on my homepage, I noticed this cookie:

    Cache-Control:
    no-cache
    Cookie:
    _lscache_vary=guest_mode%3A1; _gid=GA1.2.724822091.1700825861; wordpress_test_cookie=WP%20Cookie%20check; wp_lang=en_US; wfls-remembered-E-VcbxuXk0Mpx99uFqJF7w=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpdiI6Ilk2XC9WMnVOeURUUzdqR2FyXC9JNXprQT09IiwiX2V4cCI6MTcwMzQxODMwMX0.vGk8WyoN9MI3vL2TlMqNc1BvUIRxwf6inZE9jLhbBEY; wordpress_logged_in_7b1ebbdda51ef005e0a9cdbd721992cd=luxtools_admin%7C1702035901%7C92hyrAfeEmKt9PsRcoADC8X0nALYuPhMfWubymFDw1J%7Cc30999640afe80cece4b6dc27654070f148ec3d945affaaeb9015613f6f41bca; tk_ai=woo%3AutWzerK5wclQuk1ZpIFjdewU; wp_woocommerce_session_7b1ebbdda51ef005e0a9cdbd721992cd=1%7C%7C1700999119%7C%7C1700995519%7C%7C2a4a8f2522173f871f928465438c04f6; tf_dismiss_admin_notice=1; v2v3np6l=kmx6sg4oq6ym; kpurc3em=0ibucz75l63x; fneyzezf=yduv4f1wsypm; _lscache_vary=admin_bar%3A1%3Bguest_mode%3A1%3Blogged-in%3A1%3Brole%3A99%2C0; wfwaf-authcookie-27f6637f7617937c2c3d0863fc5fb1e0=1%7Cadministrator%7Cmanage_options%2Cunfiltered_html%2Cedit_others_posts%2Cupload_files%2Cpublish_posts%2Cedit_posts%2Cread%2Cmanage_network%7Cb64c6f087a649d7efffb01eb3cc3813d1c384af9f1fbe34c4cd269b2d848d21d; _wpfuuid=fb6a492c-8799-461e-a3ba-4fa0b2654848; wp-settings-1=libraryContent%3Dbrowse%26editor%3Dtinymce%26uploader%3D1; wp-settings-time-1=1700837706; _ga_JZ7347KVDY=GS1.1.1700839692.2.0.1700839692.0.0.0; _ga=GA1.2.212610869.1700825861;

    Thank you for any help. I really want to get this all sorted and continue using your plug-in. Edit: I think this issue was the toolbar not being cached as an esi block. But the log-in issue remains

    XHGPGIGD

    • This reply was modified 1 year, 4 months ago by luxtools.
    Thread Starter luxtools

    (@luxtools)

    Yeah that makes sense.

    I have another problem where users and myself can’t log in. Unsure what the issue is.. I have tried purging cache, disabling it altogether, and disabling various options with no luck. When I press login, the button just goes grey. It’s not until I deactivate the plug-in where it works. I have made sure the log-in pages aren’t cached too. Can you advise? I put cloudflare in development mode too but it didn’t help.

    Request URL:
    https://lux-edit.co/my-account/
    Request Method:
    GET
    Status Code:
    200 OK
    Remote Address:
    104.21.87.169:443
    Referrer Policy:
    strict-origin-when-cross-origin
    Alt-Svc:
    h3=":443"; ma=86400
    Cache-Control:
    no-cache, must-revalidate, max-age=0
    Cf-Cache-Status:
    DYNAMIC
    Cf-Ray:
    82b2b4a0ed1663b0-LHR
    Content-Encoding:
    br
    Content-Type:
    text/html; charset=UTF-8
    Date:
    Fri, 24 Nov 2023 15:32:39 GMT
    Expires:
    Wed, 11 Jan 1984 05:00:00 GMT
    Nel:
    {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
    Report-To:
    {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=F73bzqnLJDdwjOGStY%2FVwaTd8a9BTNEkIXZpXUkORwpXB5YDA%2FjHDw7Rix6NOVdT3DyjmYE24fGyFh0hZRYa%2F9trRA44WZuV%2FKowkPzrAI9I3kcWrgat67N64ILWkQ%3D%3D"}],"group":"cf-nel","max_age":604800}
    Server:
    cloudflare
    Set-Cookie:
    fneyzezf=yduv4f1wsypm; expires=Wed, 29-Nov-2023 15:32:38 GMT; Max-Age=432000; path=/; domain=lux-edit.co; secure; HttpOnly
    Set-Cookie:
    kpurc3em=0ibucz75l63x; expires=Wed, 29-Nov-2023 15:32:38 GMT; Max-Age=432000; path=/; domain=lux-edit.co; secure; HttpOnly
    Set-Cookie:
    v2v3np6l=kmx6sg4oq6ym; expires=Wed, 29-Nov-2023 15:32:38 GMT; Max-Age=432000; path=/; domain=lux-edit.co; secure; HttpOnly
    Strict-Transport-Security:
    max-age=63072000; includeSubDomains
    Vary:
    Accept-Encoding,User-Agent,Accept-Encoding,User-Agent
    X-Content-Type-Options:
    nosniff
    X-Dns-Prefetch-Control:
    on
    X-Frame-Options:
    SAMEORIGIN
    X-Litespeed-Cache-Control:
    no-cache
    X-Litespeed-Tag:
    4b91_HTTP.200
    X-Powered-By:
    PHP/8.1.25
    X-Turbo-Charged-By:
    LiteSpeed
    :authority:
    lux-edit.co
    :method:
    GET
    :path:
    /my-account/
    :scheme:
    https
    Accept:
    text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
    Accept-Encoding:
    gzip, deflate, br
    Accept-Language:
    en-US,en;q=0.9
    Cache-Control:
    no-cache
    Cookie:
    v2v3np6l=kmx6sg4oq6ym; kpurc3em=0ibucz75l63x; fneyzezf=yduv4f1wsypm; _lscache_vary=guest_mode%3A1; _ga=GA1.2.697078671.1700839928; _gid=GA1.2.910020937.1700839928; _gat=1; _fbp=fb.1.1700839928358.1431593896
    Pragma:
    no-cache
    Referer:
    https://lux-edit.co/
    Sec-Ch-Ua:
    "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"
    Sec-Ch-Ua-Mobile:
    ?0
    Sec-Ch-Ua-Platform:
    "Windows"
    Sec-Fetch-Dest:
    document
    Sec-Fetch-Mode:
    navigate
    Sec-Fetch-Site:
    same-origin
    Sec-Fetch-User:
    ?1
    Upgrade-Insecure-Requests:
    1
    User-Agent:
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
    • This reply was modified 1 year, 4 months ago by luxtools.
    • This reply was modified 1 year, 4 months ago by luxtools.
    Thread Starter luxtools

    (@luxtools)

    Update: I have just disabled the vary cache option and removed the counter from the mini cart, which I think should do the trick for me.

    Thread Starter luxtools

    (@luxtools)

    hey thanks for the response. I only have 24 pages, and it works well when it’s being crawled every minute. I need to test further but it seems to be working. I’ve lowered the thread and increased the interval to see.

    I have an issue, where as soon as an item is added to cart (which takes forever…possibly because of the theme and general build of the site) but after item is added, the whole site is no longer relying on the cache and is slow. I’m assuming it’s because the mini cart quantity needs to be calculated. Is there any workaround for this; to only load the dynamic cart contents and keep everything else cached? Just exclude the cart from lscache? I remember selecting the mini cart option during lscache setup to make sure the quantity is consistent between pages.
    Apologies if I explained poorly, and thank you for any help ??

    Thread Starter luxtools

    (@luxtools)

    Sure, appreciate it ??

    Thread Starter luxtools

    (@luxtools)

    Thank you! Unsure how the parent product requires shipping and the variations don’t. Is there an option I can change ? All the products on lux are virtual/downloadable. And there is a variation selected by default anyway.
    (And like I said there are no issues with the other stripe plugin… it’s just ugly in comparison). I’ll remove the express product buttons for now and reinstate them when an update is released, unless there is something I can do my end. As for the loop on the other site, I don’t know how that comes about. It occurred before when I had duplicate express buttons but I removed them and it worked for a while, but for some reason has reverted into non-functionality.

    Thanks for the help.

    Thread Starter luxtools

    (@luxtools)

    thank you for the response. I’m asking about both sites but I suppose lux is a priority. Unfortunately your solution doesn’t work (by swapping to simple back to variable). I thought it’d be fine to use the woocommerce stripe express checkout on the product page and yours at the checkout page, but that doesn’t seem to give me the option to customise to only have their express button on product page and not on checkout. This method gives me duplicate express options at checkout.

    their Apple Pay express on product page works perfectly. Shame because I like the styling and options of your plugin much more – but it doesn’t work for me (on both sites) ??

    As I mentioned the default woocommerce stripe gateway works great with no issue so unsure what the problem is with the payment plug-ins, or why it’s looking for an address to ship unless you click the variation, then it realises no address is needed.

    you are quite right though about the product level options (thanks), so I might have to just remove express options all together or swap plug ins.

    Thread Starter luxtools

    (@luxtools)

    Hi – sorry for not being clear. I mean on mobile. I’ve just ended up using bunny.net player, although I’m sad that doesn’t revert to thumbnail when finished ??

    Thread Starter luxtools

    (@luxtools)

    Thanks a lot, the code worked a treat!!

    i use Elementor, which allows you to add as many “add to cart” buttons as you’d like. I am however using a custom template for the first section as the theme I’m using requires it for products.

    is there a way to do this but without rendering your plug-in twice? (So it would just be add to cart, with no express options).

    I’d like to use this on my other site but i use multiple add to cart buttons. I guess I could do what I did with this one with having a “buy now” button which simply brings the user back to the top of the page, but I’m curious.

    thanks again. Your plug ins are still the cleanest looking express buttons in my opinion.

    • This reply was modified 1 year, 8 months ago by luxtools.
    Thread Starter luxtools

    (@luxtools)

    Damn i’m just seeing this now!

    I have been troubleshooting and came to the same conclusion that it’s because it’s duplicated. A real shame I can’t have multiple “add to cart” buttons on the page — this seems like a bit of a flaw, but I suppose not the end of the world.

    I believe it’s the sole reason i was experiencing any errors, as the currency switching doesn’t seem to affect it? Paypal was closing on the same variation that the Apple Pay button was greyed out; because there were duplicates on the page. Now everything works fine with just one instance of a payment buttons.

    I believe you were seeing the USD because I had currency switcher on test mode in USD.

    PS the buttons don’t seem to be centred for me (slightly aligned to the left) — is there anyway to fix. Many thanks, I really appreciate your help.

    Thread Starter luxtools

    (@luxtools)

    Ok thank you very much for the response, it’s appreciated !

    Did you have a look for yourself? The buttons are now being rendered (except often the Apple pay is greyed out, only for one variation… and the PayPal window opens and closes, again for one variation). It’s just confusing as the variation this happens on often changes. The other gateway plugins work perfectly, but I really want to use yours.

    anyway I’ll try your suggestions and see if that makes any difference at all. Also regarding the shipping options, I am using DSERS which is an AliExpress link which I can test further. So that may have something to do with it, which I did consider before. Just a shame that it works with other stripe/PayPal plugins and not this one

    Thread Starter luxtools

    (@luxtools)

    The developer helped me get it sorted.

    If anyone is interested, this is the code that worked for me:

    add_action( 'wp_footer', function(){
    
                                    ?>
    
                                    <script type="text/javascript">
    
                                    jQuery(document).ready(function($){
    
                                                                   
    
                                                    $(document.body).on( 'wc_fragments_refreshed', function(){
    
                                                                    setTimeout(function(){
    
                                                                                    $('.wc-shopping-cart').addClass('xoo-wsc-cart-trigger')
    
                                                                    }, 500)
    Thread Starter luxtools

    (@luxtools)

    The site is lux-Edit.co

    <span class=”xoo-wsc-cart-trigger”>Open Cart</span>

    I read I need to apply this class to my cart element, but I am unsure how to do this. Is it in additional CSS in my theme settings? What would the code be? I did inspect my cart element so I think I know what to assign it to, but I am brand new to this. I would really appreciate if anyone (or the developer) could provide me with help. Sorry for being an idiot.

    Many thanks

    • This reply was modified 2 years, 9 months ago by luxtools.
Viewing 15 replies - 1 through 15 (of 20 total)