Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    that error (of the JS minifier) happens when the JS it is fed is broken somehow, so on the search result page there will be JS (maybe inline, maybe a file) to exclude from being optimized. an easy alternative would be to disable AO (using the API) on the search results page off course 😉

    frank

    Thread Starter Georgio

    (@georgio-1)

    Thank you for your response 🙂
    I could resolve the problem using code you gave in another thread.

    add_filter('autoptimize_filter_noptimize','carolineelisa_noptimize',10,0);
    function carolineelisa_noptimize() {
    	if ( strpos($_SERVER['REQUEST_URI'], '/?s=' ) !== false ) {
    		return true;
    	} else {
    		return false;
    	}
    }
    
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    great job Georgio! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error when searching with non latin characters’ is closed to new replies.