Home Forums WoodMart support forum Error loading blcok – The response is not in a JSON response

Error loading blcok – The response is not in a JSON response

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #642026

    EM
    Participant

    Hello,

    After updating to 8.1 I have a problem with the Gutenberg blocks in the layouts in the woodmart theme. All other blocks work normally without the error, but xtemos block has error:
    Error loading blcok – The response is not in a JSON response
    I tested adding an xtemos block in a standard post/page there is no problem, so the problem is only in woodmart layouts.
    When opening some woodmart layout all hosting limits are at 100% (Physical Memory Usage, I/O Usage, SPEED Usage)
    I wrote to the hosting company, they raised my limits, but still have this error.
    Before the update to 8.1 this problem was not there.
    I have no other plugins installed on the site, pure wordpress + woodmart + woo

    Thanks!

    • This topic was modified 2 months, 1 week ago by EM.
    • This topic was modified 2 months, 1 week ago by EM.
    #642034

    EM
    Participant

    Apologies misspelling error, the correct one is:
    Error loading block the response is not a valid JSON response

    #642214

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #642329

    EM
    Participant

    I am sending my login details.

    #642357

    Artem Temos
    Keymaster

    We checked your website and see that some requests are blocked by the server and return 503 error https://gyazo.com/e6326e854491d20d1cfbbcf6efb79809
    This error is a generic server error so you need to ask your hosting provider why it can’t handle these particular requests. Or you can ignore them since they will not affect your layout on the frontend.

    Kind Regards

    #642453

    EM
    Participant

    Thanks for the reply, I have contacted my hosting.

    They did the necessary tests and the answer is that the xtemos blocks themselves make a huge amount of POST requests (an incredible amount, which is not normal block operation)
    And for this reason, just from opening to editing a woodmart layout consumes 95% of the hosting account resources.

    Notice that the other 5% is the normal workload of over 30 sites!

    Could you please optimize the xtemos blocks to not load so much resources, it is not normal to just with the opening take up 1.2 GB ram on the server

    #642565

    Artem Temos
    Keymaster

    Hello,

    When you open the custom layout with Gutenberg editor, all dynamic blocks are loaded separately using POST request. You can notice this by the amount of circle loaders on the page. It is how the Gutenberg editor works with any theme. So one dynamic block = one post request. The amount of these requests corresponds to the amount of dynamic blocks. There is nothing we can do to change this behaviour.
    But as we mentioned, it is only on the backend. It doesn’t have any post requests on the frontend.

    Kind Regards

    #642583

    EM
    Participant

    Thank you for the detailed information.

    Yes this problem only comes up when editing a layout but due to the fact that I fill the hosting account resources to 100% more blocks are not loading because they return a 503 error.
    Because of this, you cannot make any changes or settings to the blocks that have not loaded.

    Is there a way to optimise these blocks?

    Thanks!

    #642636

    Artem Temos
    Keymaster

    Could you please clarify what exactly you mean by optimize these blocks? As far as I understand, the problem is not in the blocks but in the number of POST requests. So do you mean to reduce the number of blocks?

    #642700

    EM
    Participant

    I’ve done another test, moved the site to a whole new hosting, with 2GB ram and a much stronger CPU than before and I’m trying to open a layout.
    Hosting stats > https://imgur.com/a/JFpVVAF
    Is this normal behavior to fill up all these resources and not even be able to load all the blocks and this is just when trying to load layout.
    Because of this when I try to edit some block nothing happens because they are not fully loaded.

    I really like your work and this theme a lot, that’s why I have chosen to build a site on it, for the sake of speed, but now I can’t even set it up.

    #642703

    Artem Temos
    Keymaster

    Can you try to use a different hosting provider like Cloudways, Kinsta, Bluehost or WP Engine? Please create a fresh installation so we can check how it works.

    #642720

    EM
    Participant

    I did a test on a new hosting with a new clean installation – exactly the same problem.

    I think the problem is generic and it appeared with 8.1 before it did not have this problem.

    Could you please address this problem!

    #642885

    Artem Temos
    Keymaster

    Please send us your admin access to this installation so we can check.

    #643924

    EM
    Participant

    Here are login info from completely new and clean installation of wordpress + woodmart core + woo + woodmart demo content
    Just open some layout and see errors in almost every xtemos block.

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

    Artem Temos
    Keymaster

    We tried to navigate through the website but pages are not loaded correctly. And some time takes to much time to load. I didn’t even open the custom layout. Can you create a sample website on some of the hosting from the list? Cloudways, Kinsta, Bluehost or WP Engine

    #643963

    EM
    Participant

    No, I will not buy another hosting.
    On my side the site loads quite normally.
    However, I described what the problem is and where exactly, replicate it on your side and test

    #644358

    Artem Temos
    Keymaster

    In this case, we can conclude that your hosting is not suitable for our theme and for WordPress in general. You can request a refund here https://themeforest.net/refund_requests/new

Viewing 17 posts - 1 through 17 (of 17 total)