• Tell me, the following problem happens periodically – when a button “Load More Products” is pressed, nothing happens. Updating the cache – nothing helps. After a while, everything works again. But there are such failures for several hours. What’s wrong?

    When I press F12, I see the following problems:

    Access to XMLHttpRequest at ‘https://ganzola.ru/elektrosamokat/page/2/’ from origin ‘https://ganzola.ru’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
    /elektrosamokat/page/2/:1 Failed to load resource: net::ERR_FAILED

    Note:

    While writing this message, I found the following: If you go to the site using the https protocol, then everything works correctly. If the protocol is http, then do not work.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ilyapokrov

    (@ilyapokrov)

    I solved the problem myself. Made a server-side redirect to the https Protocol.
    But in any case, it is strange that the plugin could not click on a link with an unsecured Protocol.
    No further questions.
    Thank you for the plugin!

    Plugin Author RazyRx

    (@razyrx)

    Hello @ilyapokrov,

    WordPress do not have possibility by default to use both http and https protocol, because link will be used to protocol that you setuped in WordPress settings.
    Plugin uses links from pagination, you can check that on site with HTTP protocol links uses HTTPS protocol.

    Better way to use redirection from HTTP to HTTPS.

    Regards,
    Oleg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘button does not work “Load More Products”’ is closed to new replies.