bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Don't write trace summary report during Multisite clone by ns-cloner-site-copier #48

Closed bobbingwide closed 4 years ago

bobbingwide commented 7 years ago

Situation

I wanted to clone oik-plugins.eu/oik-weight-zone-shipping-pro to a new site oik-weight-zone-shipping. When I tried NS Cloner Site Copier it failed due to the trace summary report being echoed but the browser was only expecting JSON.

Problem determination

This is WPMS. The NS clone must have been using the trace logic from the main site.

Workaround

Deselect the "Produce trace summary report" before attempting the clone.

bobbingwide commented 4 years ago

The problem doesn't happen any more since AJAX is traced separately and we don't write the trace summary report for AJAX requests. I've retested cloning with the latest version of ns-cloner-site-copier ( v4.0.5. It worked OK.