Hello. Thank you for contacting the Toolset support.
I checked the debug information you shared and I found that you are using the latest Toolset plugins so there must be something going wrong or possible conflict between your theme or other third-party plugins your are using.
In order to minimize the cause of the issue:
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any difference? If no:
- I will require access details to your site so check whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
As did the below in functions.php to stop issue on a specific page\pages (if it helps anyone else).
// Disable autoptimize on all pages with the words "visit-us" or "news" in the URL
add_filter('autoptimize_filter_noptimize','ninja_noptimize',10,0);
function ninja_noptimize() {
if (strpos($_SERVER['REQUEST_URI'],'visit-us')!==false || strpos($_SERVER['REQUEST_URI'],'news')!==false) {
return true;
} else {
return false;
}
}