Hello, I have noticed another problem. However, I am not sure if this is caused by autoptimze or the async plugin.
In my header I have a “Woocommerce Mini Cart”. On the website everything is displayed correctly, but when I want to edit the header this element is not loaded.
I get the following error messages:
there was an error on the server when rendering this element.
WordPress ajax request failed.
unexpected end of jason input.
{“type”:”NETWORK_ERROR”,”errorDetails”:{“friendlyName”:”WordPress AJAX Request”,”message”:”Unexpected end of JSON input”},”requestDetails”:{“friendlyName”:”WordPress AJAX Request”,”responseCode”:”200″,”requestUrl”:”https://www.mastrng.com/?page_id=1666&_ajax_nonce=1d1ec741e8″,”requestMethod”:”POST”,”body”:{“action”:”breakdance_server_side_render”,”properties”:”{\”content\”:{\”content\”:{\”cart\”:{\”primary_button\”:\”checkout\”,\”open_cart_on_add\”:true,\”hide_quantity_input\”:false,\”top_bar\”:\”enable\”,\”continue_shopping_link\”:\”shop\”},\”link\”:{\”hide_count\”:true,\”hide_subtotal\”:true},\”after_title_bar\”:null}},\”design\”:{\”cart\”:{\”dropdown_position\”:\”right\”,\”style\”:\”sidebar\”,\”sidebar_position\”:\”right\”,\”container\”:{\”width\”:{\”breakpoint_base\”:{\”number\”:489,\”unit\”:\”px\”,\”style\”:\”489px\”}}}},\”link\”:{\”quantity\”:null}},\”settings\”:{\”hide_on_breakpoint\”:{\”hide\”:[\”breakpoint_base\”,\”breakpoint_tablet_landscape\”,\”breakpoint_tablet_portrait\”]}}}”,”parentProperties”:”{}”,”elementSlug”:”EssentialElements\MiniCart”,”triggeringDocument”:18,”breakdance_ajax_at_any_url”:”true”}}}
Maybe you have another suggestion how I can solve this quickly.
PS: “Also optimize for logged in editors/ administrators” is off