Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter xbaeza

    (@xbaeza)

    ?Is there any way to check this looking some log file? ?Is this “empty entire cache” launched automatically when updating plugin or theme?

    Regards,

    Thread Starter xbaeza

    (@xbaeza)

    It’s a VPS where we have multiple sites, and, in this case there are multiple WP installations with LS Plugin and the Crawler enabled under the same vhost user. I think is the same user because i don’t haver direct access to the server, but i’m almost sure.

    Could it be a problem?

    Thread Starter xbaeza

    (@xbaeza)

    Hi!

    Yes, after crawler has finished if I visit site in incognito window everything is very fast and ‘hit’ appears on response headers. But afters a while, maybe an hour or so, I start to get “miss” in the same pages with no updates on admin site. So, it seems that crawler itself is working, but for some reason, pages started to be considered “uncached” …. I’ve reviewed log but unable to find the culprit.

    Regards,

    Thread Starter xbaeza

    (@xbaeza)

    Don’t get me wrong, this plugin was working perfectly in my set-up until a week ago, in fact, we changed the “official” one for this, two years ago and we were very happy with it.

    Just posting here to see if anyone had the same problem and we can resolve this, as usual it could be an incompatibility with other plugin of my specific setup.

    Unfortunately we have no time to investigate it, so we had to install another plugin.

    I will consider this thread close.

    Thanks!

    Thread Starter xbaeza

    (@xbaeza)

    Hi, I found nothing.

    I had to install other plugin.

    Regards,

    Thread Starter xbaeza

    (@xbaeza)

    I will take a look, normally we use Booster Plus for this kind of things.

    I’ll write back if I find something

    Regards,

    Thread Starter xbaeza

    (@xbaeza)

    Thanks for your answers. Finally playing with “Crawler settings” options seems to do the trick, because today (05/20/2024 08:00) I can see that the crawler has been running

    and also, If I visit the site, I’m always getting a cache hit.

    Many thanks!

    Thread Starter xbaeza

    (@xbaeza)

    Yep, makes sense. If I configure LiteSpeed like is explained here, deactivate Woocommerce geolocation (cache compatible) choose only Wocommerce geolocation, then, my question is if the crawler woud cache at least the location where the server is located?

    So this way at least local language would be warmed up?

    Many thanks,

    Thread Starter xbaeza

    (@xbaeza)

    Ok, many thanks!

    Thread Starter xbaeza

    (@xbaeza)

    Hi @gravid7 , but I have no longer premium support. ?is there any other option on your website?

    Thanks

    Thread Starter xbaeza

    (@xbaeza)

    Hi,
    thanks for your response, configuration in the client site has change (now is -50) , but I have a couple of screenshots to illustrate this. This is Instagram shop:

    Here you can see extrange % discount. I don’t know if instagram is making its own calculations here, but those are products data:

    1o Product:
    Original price: 59.99€ (49.58 in product page + 21.00 VAT)
    Discount price: 36€
    % Discount configured: -40
    % Discount shown in Insta: 39%
    I guess: 40 x 59.99 = 2399.6 / 100 = 23.996 So 59.99 – 23.996 = 35.994.
    final price = 36 (it seems rounded up) ?Should be 35.99?

    If I get 36 as product price, 36 * 100 / 59.99 = 60.01 So 100 – 60.01 = 39.99 ….. yes I guess is almost 40% …. but …

    If i get 35.99 as product price, 35.99 * 100 / 59.99 = 59.993 So 100 – 59.993 = 40.007 … Nailed 40%

    2o Product
    Original price: 50.99€ (42.14 in product page + 21.00 VAT)
    Discount price: 30.59€
    % Discount configured: -40
    % Discount shown in Insta: 40%
    I guess: 40 x 50.99 = 2039.6 / 100 = 20.396 So 50.99 – 20.996 = 30.594.
    final price = 30.59 (it seems OK)

    So if i get 30.59 as product price, 30.59 * 100 / 50.99 = 59.992 So 100 – 59.992 = 40.008 Here is 40% nailed.

    To both products applied same rule because both are in the same category (not in the excluded one).

    It is strange….
    And this is gettis very dense, but maybe there is some minor bug somewhere.


    Thread Starter xbaeza

    (@xbaeza)

    Ok, I see. For me was strange because never saw this behavior until last update.

    Cheers

    Thread Starter xbaeza

    (@xbaeza)

    Thanks for the link. I understand that this return code is telling the browser that the copy stored locally is valid and theres is no need to get anything from the server to save bandwitch and speed everything up.

    But I was surprised that without changing plugin configuration, behavior has changed, because 200 OK was returned before.

    Thread Starter xbaeza

    (@xbaeza)

    Works wonderful!

    Many thanks!

    Hi, v2.0 is working fine in Chrome but failing in Safari (Desktop), error saying something like “An error occured”.

    I downgraded to 1.9.5, Firefox is working well, but now Safari is displaying this error “MISSING_SHIPPING_ADDRESS The shipping address is required when shipping_preference=SET_PROVIDED_ADDRESS.”

    Same with the 2.0.1 RC1 version, Safari is not working as well as Firefox

    This is debug log:

    DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"EUR","value":"49.50","breakdown":{"item_total":{"currency_code":"EUR","value":"45.45"},"shipping":{"currency_code":"EUR","value":"0.00"},"tax_total":{"currency_code":"EUR","value":"8.59"},"discount":{"currency_code":"EUR","value":"4.54"}}},"description":"","items":[{"name":"XXXXXXXXXXXXXX","unit_amount":{"currency_code":"EUR","value":"45.45"},"quantity":1,"description":"","sku":"19301302","category":"PHYSICAL_GOODS"}],"payee":{"merchant_id":"XXXXXXXXXXXX"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"ES","address_line_1":"XXXXXXXXXXXXXXXXX","admin_area_1":"A","postal_code":"03540"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"es-ES","brand_name":"XXXXXXXX","return_url":"https:\/\/www.xxxxxxxxxx.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/www.xxxxxxxxx.com\/xxxxxx-xxxx\/"},"payer":{"email_address":"[email protected]","name":{"given_name":"Xavier","surname":"xxxxxxxxx"},"address":{"country_code":"ES","address_line_1":"AAAAAAAAAAAA","admin_area_1":"A","admin_area_2":"AAAAAAAAA","postal_code":"xxxxx"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"11111111111"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
    Response Debug ID: 311a028406404
    Response: Array
    (
        [code] => 422
        [message] => Unprocessable Entity
    )
    
    Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'/shipping/address/admin_area_2","issue":"CITY_REQUIRED","description":"The specified country requires a city (address.admin_area_2)"}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"311a028406404","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-CITY_REQUIRED","rel":"information_link","method":"GET"}]}
    
    2022-12-13T11:52:44+00:00 WARNING Failed to create order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-CITY_REQUIRED
    2022-12-13T11:52:44+00:00 INFO Invalid shipping address for order creation, retrying without it.

    Hope it helps someone.

    • This reply was modified 1 year, 11 months ago by xbaeza.
Viewing 15 replies - 1 through 15 (of 24 total)